Skip to content

Instantly share code, notes, and snippets.

@ethanwillis
Last active August 29, 2015 14:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ethanwillis/bcb00c4d86ab8b7945fc to your computer and use it in GitHub Desktop.
Save ethanwillis/bcb00c4d86ab8b7945fc to your computer and use it in GitHub Desktop.
#!/bin/bash
FILES=/path/to/*
for f in $FILES
do
echo "Processing $f file..."
# take action on each file. $f store current file name
cat $f
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment