Hi,

sridhar wrote :
>Just a curious question. Will this work?

>$ ls *.gz |xargs tar -xzvf

i think the above cmd should have been

$ ls *.tar.gz | xargs -n 1 zxvf 
                              
I think the following would also be fine.
$ find -iname "*.tar.gz" -exec  tar zxvf \{\} \;
moreover we can filter on size or other attrs (say files > 200K etc)

        --npd




 Shridhar
Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com

 Buy Music, Video, CD-ROM, Audio-Books and Music Accessories from 
http://www.planetm.co.in


_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to