Advertisement
HarvDad

combine.sh

May 12th, 2014
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. rm allfiles
  4.  
  5. FILES=*
  6. for f in $FILES
  7. do
  8. if [ "$f" != "combine.sh" ]; then
  9. echo "Adding $f"
  10. echo "*** " $f >> allfiles
  11. cat $f >> allfiles
  12. fi
  13. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement