Skip to content

Instantly share code, notes, and snippets.

@welshstew
Created March 19, 2015 04:19
Show Gist options
  • Save welshstew/9df7f1d1baaa8340b625 to your computer and use it in GitHub Desktop.
Save welshstew/9df7f1d1baaa8340b625 to your computer and use it in GitHub Desktop.
bash one-liner to find items from the names in a file
while read line; do find . -name "$line" | xargs ls -l; done < items.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment