Possible Duplicate:
rm on a directory with millions of files
I am trying to remove the folder that has more than half a million small files.
# ls -lht | wc -l
570841
# cd ..
# time rm -rf collected/
It is taking too long to remove all the files.
Is there a better way to remove this folder?
update:
The process is finally complete.
I installed Ubuntu 12.04 from Windows 7 using Wubi. For reasons I won't elaborate here, I had to reinstall Windows 7.
Now I want to uninstall Ubuntu. But there is no entry for ubuntu in Windows' Add/Remove Programs anymore.
What I tried:
running the Uninstall executable from Ubuntu's installation folder, which didn't do anything.
Hi All,
I wonder if someone can help? I have recently installed the LAMP server on 11.10.
Hey guys,
new user here. After using ubuntu for years on my laptop,i decided to install 12.04 on my desktop with windows 7.So first of all I re-installed my windows 7 and then i tried to install ubuntu.
I'm a new user. I cannot delete a files folder folder with sudo rm /path/.
It is a file catolog.
But the folder/catalog is empty.
help to remove the folder?
My Microsoft Exchange 2010 installation server suffers from disk space absence sometimes. To work around this problem I usually just go ahead and remove log files on my mailbox folder.
I have to do it every 3 months. Is it possible to set up a recurring task in Windows Server, so that it would check the size of the mailbox folder, and if it exceeds, for example 4 GB, remove all the log files?
After my computer had an unexpected shutdown my MySQL installation got broken, so I started reinstall the package.
I've followed this link to completely remove MySQL but seems I had no success doing this. I've continued the uninstallation and moved to the installation step.
Accidentall I created the folder on remotely server (Server OS is Linux) using php: mkdir("folder_name",0);
Now I can not delete this folder from server.
Accidentall I created the folder on remotely server (Server OS is Linux) using php: mkdir("folder_name",0);
Now I can not delete this folder from server.