On 07/13/2017 11:27 AM, Tom Horsley wrote: > On Thu, 13 Jul 2017 10:50:50 -0700 > Rick Stevens wrote: > >> Of course, you COULD use "-delete" in the find command rather than >> doing an "-exec rm {} \;": > > Or for anything that would run a command that takes a > list of arguments (rm, chown, chmod, etc) you could > use -print0 in the find command and pipe it to xargs -0 I think the confusion the OP had was that he/she didn't realize that the "\;" bit of the line was part of the find command and didn't separate the find command from the subsequent "rm" command on that line. They needed "\; ;rm -f ........." to do what they wanted. Just one of the oddities of stringing commands together in a shell. ---------------------------------------------------------------------- - Rick Stevens, Systems Engineer, AllDigital ricks@xxxxxxxxxxxxxx - - AIM/Skype: therps2 ICQ: 226437340 Yahoo: origrps2 - - - - Sarchasm: The gulf between the author of sarcastic wit and the - - reader...who doesn't get it. - ---------------------------------------------------------------------- _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx