scripts/housekeeping

9 lines
373 B
Plaintext
Raw Normal View History

2018-08-02 02:52:06 +00:00
#!/bin/bash
# Run karn on all work projects so that my git identities are correct
WORK_ROOT="/home/nemo/projects/work/razorpay"
find $WORK_ROOT -maxdepth 2 -type d -iname .git | xargs -I{} bash -c "cd {}/.. && karn update"
PERSONAL_ROOT="/home/nemo/projects/personal"
find $PERSONAL_ROOT -maxdepth 2 -type d -iname .git | xargs -I{} bash -c "cd {}/.. && karn update"