Original thread on Stackoverflow
https://stackoverflow.com/questions/33091013/delete-files-older-than-specific-date-in-linux
Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
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.Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
frankly I even doesn't knew the
-delete
option. all top geeks* on the web always do the job by piping toexec
orxargs
... :-)*even the grandmaster nixCraft :)
https://www.cyberciti.biz/faq/linux-unix-how-to-find-and-remove-files/
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit