Skip to content

Instantly share code, notes, and snippets.

@im6e
Created December 5, 2014 08:33
Show Gist options
  • Save im6e/a255bfeee8e14975499c to your computer and use it in GitHub Desktop.
Save im6e/a255bfeee8e14975499c to your computer and use it in GitHub Desktop.
one liner script to cat recursively
for i in `seq -w 0 23`; do dir=12/01/$i; for f in `ls $dir`; do cat "$dir/$f" | `do something`; done; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment