Advertisement
FirehaK

crawl.sh

Apr 29th, 2012
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.28 KB | None | 0 0
  1. #!/bin/sh
  2. BIN="/home/firehak/Desktop"
  3. PACKAGES="/home/firehak/android/packages"
  4. cd $PACKAGES
  5.  
  6. git_dirs=`find -name .git`
  7. for d in $git_dirs ;
  8. do
  9.   string="`pwd`/$d"
  10.   echo "cd" ${string%.git} | sed 's/\/.\//\//g' >> $BIN/supergit.sh
  11.   echo "$BIN/git.sh" >> $BIN/supergit.sh
  12. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement