Created
August 20, 2013 12:27
-
-
Save nucknorris/6280728 to your computer and use it in GitHub Desktop.
foreach files in folder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
FILES=/mnt/dumps/queue/* | |
for f in $FILES | |
do | |
echo "Processing $f file..." | |
java -jar LogReader tmr $f localhost | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment