I have a large folder with a few million files on my external hard drive that I have to delete. Using rm -rf
works, but is very slow due to the sheer amount of files, and the size of the folder.
Files that are in /tmp/
seem to be deleted instantly on reboot, no matter how big they are or how many files there are. So I am wondering if it is possible to give a folder on an external drive the same attributes as, and make it behave in the same way as /tmp/
.