Skip to content

Instantly share code, notes, and snippets.

@vu3jej
Created August 4, 2016 06:50
Show Gist options
  • Save vu3jej/e3bd91404bb064f8fc1876803ebe3f37 to your computer and use it in GitHub Desktop.
Save vu3jej/e3bd91404bb064f8fc1876803ebe3f37 to your computer and use it in GitHub Desktop.
Bash one-liner to print the size and absolute path of the files recursively
for filename in $(find . -type f -print); do du -s "$filename"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment