Delete large amount of OS X files quicklyIvan | Sun, 2009-06-28 21:41
Let's say you want to delete a backup from an external drive you don't need anymore. This backup will be millions of files if it includes all the system files. If you want to delete such large amount of files using the Finder's Empty Trash command it may take you hours.
A simple trick in Terminal will reduce the time by 40% to empty your trash significantly. Carefully enter this command:
sudo rm -r
Now click and drag the folder you want to delete to the end of the line. This operation will insert the correct path. It will look something like this:
sudo rm -r /Volumes/Backup_Disk/Backups
Press enter and you will be asked for your admin password. Now just wait for the command to complete.
This method is not just faster, but it also runs in the background so you can use Finder normally.
Commenting on this Blog entry is closed.