I have to remove many directory. but
rm -r /data
is so slow ( about some days) /data has
/data/a/b/c/d/e/f/g/h ....
many dirs
Does anyone know?
|
feedback
|
|
Removing huge amount of files and directories is a long operation, no matter what file system you have in use. Depending on your I/O subsystem and file system it might help performing the removal in parallel; just put one rm process removing directories starting with Or if it's OK for you to just have file removal going on background, you can always
| |||||
feedback
|
\dataperhaps a separate file system? – Bart De Vos Oct 28 '11 at 8:28