Can U pipe filenames to rm???

Peter da Silva peter at ficc.ferranti.com
Tue Oct 2 07:57:18 AEST 1990


In article <1990Sep29.001151.11544 at diku.dk> kimcm at diku.dk (Kim Christian Madsen) writes:
> If you're sure the output of the ninstall does not exceed the limit of
> what the shell you're using can handle...

> 	ninstall .... | xargs rm

> However, if the filelist from ninstall et al. does exceed the shell buffer...

	ninstall .... | xargs rm

xargs will split the commandline into chunks the shell will handle.
-- 
Peter da Silva.   `-_-'
+1 713 274 5180.   'U`
peter at ferranti.com



More information about the Comp.unix.shell mailing list