Skip to content


Delete Files Newer Than

Delete a files newer than filename in the local directory

find ./ -type f -newer filename -print|xargs rm

Delete a files older (ie. not newer) than filename in the local directory

find ./ -type f ! -newer filename -print|xargs rm

Popularity: 8% [?]

Posted in Snippets.


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.