From: Paul F. <pg...@fo...> - 2004-08-09 16:54:38
|
great -- thanks for pointing out the -print0/-0 trick. i've had that problem with xargs before... paul > That worked great. I had to add another couple of parameters "find . -name > *.mp3 -print0 | xargs -0 rm -f". The options -print0 on find and -0 on > xargs tell them to use the ascii 0 or null character as a delimiter > otherwise you fight with "xargs: unmatched single quote" if your filenames > contain single quotes. > > > > far preferable: > > # find . -name *.mp3 | xargs rm -f > =--------------------- paul fox, pg...@fo... (arlington, ma, where it's 73.8 degrees) |