Skip to content

Instantly share code, notes, and snippets.

@nucknorris
Created August 20, 2013 12:27
Show Gist options
  • Save nucknorris/6280728 to your computer and use it in GitHub Desktop.
Save nucknorris/6280728 to your computer and use it in GitHub Desktop.
foreach files in folder
#!/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