mirror of https://github.com/captn3m0/Scripts.git
12 lines
475 B
Bash
Executable File
12 lines
475 B
Bash
Executable File
#!/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"
|
|
|
|
# Cleanup yay-cache
|
|
find /home/nemo/.cache/yay -iregex '.*\.\(bz2\|tar\|zip\|deb\|xz\|gz\)$' -delete |