Computing and IT Support Forums

Unix - Delete files with a different command

u2x - Jan 20, 2007 - 11:23 AM
Post subject: Delete files with a different command
You can actually run the following command to delete a lot of files:

Code:
find . -exec rm -f {} \;


or if there is a very large number of subdirectories you can run this:

Code:
find . -exec rm -Rf {} \;

All times are GMT