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

RE: [cobalt-users] untar and billing solution



The problem is that the sites change that would tar the file to the same
directory so site21.tar would extract to site21 in this case the user has
site21.tar extracting to a different directory.

-----Original Message-----
From: Brent Selch [mailto:selchb@xxxxxx]
Sent: Wednesday, February 23, 2000 1:17 PM
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: Re: [cobalt-users] untar and billing solution


-----BEGIN PGP SIGNED MESSAGE-----

try this:
at a bash prompt:

for i in *.tar ; do tar -xvf $i ; done;

that should do it...

Brent


- ----- Original Message ----- 
From: "Kris Dahl" <kris@xxxxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Wednesday, February 23, 2000 12:04 PM
Subject: Re: [cobalt-users] untar and billing solution


> on 2/23/00 5:23 AM, RHLinux- WHN at rhlinux@xxxxxxxxxxx wrote:
> 
> > TAR
> > 
> > how do i mass untar?
> > 
> > i have over 200 tars in my /home/sites/ all named site1.tar
> > site2.tar etc...  
> > 
> > how do i untar all of them all at once?
> 
> Doesn't tar xzf *.tar work?
> 
> You could right a shell script or PERL program that reads all the
> files that have .tar on them and have it untar them, but I am
> pretty sure that is unnecessary.
> 
> -k
> 
> 
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-users

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com>

iQCVAwUBOLQkF8JVRNhVuH61AQHJqQP/W7Z3ZAF5HKIb1kIrlxQpN0WFyb96Lui1
fjAq+T5Sml5qbD2Haoe8X9KhcxpZ0P+VB8JW2kyFlemROj371RO9Dkj51Z2ShZd8
4wEro5mDEHL9HOyu+o4DimmtibrA02d8VZeH6SF0qqhlugKwPayGxVX8z4lH7sGC
qn/TuKaCEXk=
=g/zh
-----END PGP SIGNATURE-----



_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-users