Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save pascalwhoop/d94c6329274068d71507c0a176e626ad to your computer and use it in GitHub Desktop.
Save pascalwhoop/d94c6329274068d71507c0a176e626ad to your computer and use it in GitHub Desktop.
FILES=/Users/pbr/Documents/Code/bash/*
for f in $FILES
do
echo "Processing $f file..."
# take action on each file. $f store current file name
source $f
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment