Skip to content

Instantly share code, notes, and snippets.

@EscVector
Created June 21, 2020 15:16
Show Gist options
  • Save EscVector/0edb91325caa2604c02bf8197a8ec04d to your computer and use it in GitHub Desktop.
Save EscVector/0edb91325caa2604c02bf8197a8ec04d to your computer and use it in GitHub Desktop.
Count files in directory
find . -type f | wc -l
Diretory Size in nice format
du -h
Use all CPU to Zip
https://www.gnu.org/software/parallel/
parallel ::: 'gzip -9' ::: *
List files in reverse order to see last touched file
ls -ltrah
List files by size in reverse order
ls -lSr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment