[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: changing permissions of files in directories



On Wed, Oct 08, 2003 at 09:42:55PM +1000, Cameron Hutchison wrote:
> Once upon a time Colin Watson said...
> > The downside is that you can only use xargs this way for programs that
> > let you specify an arbitrary number of filenames lasting up to the end
> > of the command line. 
> 
> xargs -n 1 <command>
> 
> will limit xargs to running the command with 1 argument

Sure, but in the case given you might as well use find -exec then.

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: