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

Re: untarring multiple archives



i actually have a little bash script like that to do it, but i thought i was 
overlooking some simple option in tar...guess not.  seems like a pretty 
common operation, don't you think?  i just downloaded 19 .tar.bz2 files for 
the new kde-3.0, didn't wanna untar them all manually...

thanks for the info

On Friday 05 April 2002 12:12 am, Renzo Alejandro Granados wrote:
> it does not work cause tar thinks that the second tar.gz file is the one
> to decompress from the tar file, that is due to the way bash expand the
> command (tar xvf file1.tar.gz file2.tar.gz ...), so you need something
> like:
> for i in *.tar.gz; do echo Untarring: $i;tar xzf $i; done





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