User Tools

Site Tools


linux:linux_shell

This is an old revision of the document!


Linux Shell Stuff

Useful command-line stuff.

File Management

Using find… dumped

find . -type d -empty -print
find . -type d -empty -delete
 
find -type f \( -name "*zip" -o -name "*tar" -o -name "*gz" \) -size +1M -delete
find -type f \( -name "*zip" -o -name "*tar" -o -name "*gz" \) -size +1M -exec rm {} +
linux/linux_shell.1737416441.txt.gz · Last modified: by azman