Raja Subramanian wrote:
Using xargs like this provides faster performance:
    find /some/path -type f -print0 | xargs -0 rm

But another problem the OP will face with this command
is that it will only delete files and leave empty directories
behind.

we have a workaround though, this one will clean everything under /var/lib/mod_file/default.

cd /var/lib/mod_file/default; find . | 2>/dev/null xargs rm -fr

Thanks,
Mohan R

_______________________________________________
To unsubscribe, email [email protected] with "unsubscribe <password> <address>"
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to