Monthly Archives: June 2009

Advanced File Deletion in Linux

Here is a cool way to delete files according to some complex rules without knowing complicated bash commands. First, create a file as follows that contains your deletion rules. + public_html/ + public_html/* – access-logs – etc/ – logs/ – mail/ – .cpanel/ – .cpaddons/ – .spamassassin/ – .ssh/ – public_ftp/ – cpmove.psql/ – tmp/

Read More