You are viewing a single comment's thread from:

RE: Delete files older than a specific date in bash/linux

in #linux6 years ago

Why did no one mention the -delete option for find, all that extra pipe and exec stuff is silly. Not to mention problems with spaces and special characters in names.

Sort:  

frankly I even doesn't knew the -delete option. all top geeks* on the web always do the job by piping to exec or xargs... :-)
*even the grandmaster nixCraft :)
https://www.cyberciti.biz/faq/linux-unix-how-to-find-and-remove-files/

Coin Marketplace

STEEM 0.30
TRX 0.12
JST 0.034
BTC 63799.64
ETH 3130.40
USDT 1.00
SBD 3.97