[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Unix command(s) to remove files recursively?

On 05/06/12 12:45, Nuno Magalhães wrote:
A combination of "find" and "rm" will probably do.

But careful when using find and rm as there's no 'undo', files are permanently deleted forever. In case something goes wrong you may lose data! Play safe, e.g. by echoing the files which would be removed when testing your command, also you might want to move all the files to a dir first and then delete that. Just in case :)


Reply to: