On Wed, 6 Nov 2002, Drew Poulin wrote:

> 
> >>>>> "Michael" == Michael Schwendt <[EMAIL PROTECTED]> writes:
> 
>     Michael>   ls *.tar | xargs -n 1 tar xvf
> 
> Thanks very much.  Looks like I'd better read the xargs man page.

the above is an alternative to what every single linux user should
know -- how to use the bash shell to write a quick and dirty loop,
as in:

$ for var in *.tar ; do
> echo "hey, let's do something with the file $var"
> tar xvf $var
> done
$

customize to taste.

rday



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to