Skip to content

Instantly share code, notes, and snippets.

@fedir
Created September 2, 2013 09:59
Show Gist options
  • Select an option

  • Save fedir/6411212 to your computer and use it in GitHub Desktop.

Select an option

Save fedir/6411212 to your computer and use it in GitHub Desktop.
List all files in current folder
#!/bin/bash
find . -type f -print0 | while read -d $'\0' file
do
echo "$file"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment