Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. #!/bin/bash
  2.  
  3. SRC="/home/foo/backup/webpages"
  4. DST="/home/foo/backup/bundles/webpages"
  5.  
  6. echo "create bundles, web pages..."
  7. cd $SRC
  8. for i in `ls -1d *`; do
  9.   cd $i
  10.   git bundle create $DST/$i master
  11.   cd ..
  12. echo "create bundles, /web pages..."