El Jueves 23 Diciembre 2004 15:40, Mário Gamito escribió: > Hi, > > When we have too many files in a directory, let's say thousands, we > cannot rm -f * on them. The system says there are too many files. > So, one must go through a tedious process of deleting by parts. > > Is there a way to wipe them all at onde ? > > Thank you. > > Warm Regards. if is Just a directory, call rm with the name of the directory like that rm -rf /dirname where the r is for recursive, sometimes find hangs with more than 65535 files in a single directory in some older versions (I still using some ones). If you have a lot of folders with a lot of files, then: find -type d | while read dir; do rm -rf "$dir" ; done "" in $dir is for names with spaces. Mery Christmas -- ------- Gustavo Guillermo Perez Compunauta uLinux www.userver.tk - : send the line "unsubscribe linux-admin" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html