bin-utils/watch_annex.sh

12 lines
196 B
Bash
Raw Normal View History

2015-05-30 16:42:42 +00:00
#!/bin/sh
# local git-annex directories
#ANNEXES="$HOME/documents $HOME/e-books $HOME/images $HOME/videos"
for annex in $ANNEXES; do
cd $annex
if [ $? -eq 0 ]; then
git annex watch
fi
done