17 Jul
2007
17 Jul
'07
10:45 p.m.
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 rm
is 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