Timo Sirainen wrote:
Yea. Or I mean in both cases you can just delete the files inside the directory, but I'm pretty sure rm tmp/* will give you an error. :)
This: $ ls -f ./tmp ./cur | xargs rmis really quite efficient, and doesn't fall prey to commandline globbing limits...
John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748