You are not logged in.
Hi, I need some help finding all files from a recovery dir that are less than 1mb and deleting. How can I do this? Searching I have found a simple use of find that works to provide a list of files <1mb:
find -type f -size -1000k
Now before I screw anything up, how do I delete the files that are matched from this command? Thanks for any help
edit: Found that adding "-exec rm {} \;" to the end does it
Last edited by colbert (2015-07-30 23:15:03)
Offline