Fastest way of removing very large number of files?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi All.

I currently have a problem on my backup server with very large number of
small files in a large number of directories. I would like to delete them
as fast as possible. Currently I use:

rsync -a --delete /empty_directory/ dir_to_clean/

I've read that rsync will be faster than rm or find.
Can you recommend something? I use an ext4 filesystem.

Best regards,
Rafal.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux