[ale] When a script is necessary, and when a piped command is sufficient ?

Geoffrey esoteric at 3times25.net
Wed Mar 15 09:55:16 EST 2006


Courtney Thomas wrote:
> I've been trying to assemble a sequence of actions, e.g. find, sort, rm, 
> etc.... to filter a directory of files and have not yet succeeded.
> 
> In particular I need to execute, in the following sequence;
> 
> 	1-find or ls
> 	2-sort [by file date]
> 	3-rm [interactively]
> 
> I'd prefer a prompted command sequence rather than a script.
> 
> For example...
> 
> 	ls -l | sort +5

ls -l |sort +5 |xargs rm -i

-- 
Until later, Geoffrey



More information about the Ale mailing list