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

Re: [cobalt-users] untar and billing solution



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

When you run tar xvfpz *.tar, it expands the * in the shell before
passing it to tar - thus tar sees 

site101.tar site102.tar site103.tar
which makes it try to extract files 1-(n-1) from file n. 

instead try

for i in *.tar ; do tar xvfpz $i ; done;

Brent


- ----- Original Message ----- 
From: "RHLinux- WHN" <rhlinux@xxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Wednesday, February 23, 2000 3:06 PM
Subject: Re: [cobalt-users] untar and billing solution


> when doing that i get
> 
> [root@ns sites]# tar xfv *.tar
> tar: Hmm, this doesn't look like a tar archive
> tar: Skipping to next file header
> tar: Only read 4097 bytes from archive site100.tar
> tar: Error is not recoverable: exiting now
> 
> 
> and then when i do
>  [root@ns sites]# tar xvfpz *.tar
> tar: site101.tar: Not found in archive
> tar: site102.tar: Not found in archive
> tar: site103.tar: Not found in archive
> 
> Any suggestions
> 
> 
> gary
> ----- Original Message -----
> From: "Mark Spieth" <mspieth@xxxxxxxxxxxx>
> To: <cobalt-users@xxxxxxxxxxxxxxx>
> Sent: Wednesday, February 23, 2000 4:47 AM
> Subject: RE: [cobalt-users] untar and billing solution
> 
> 
> tar xfv *.tar
> 
> -----Original Message-----
> From: RHLinux- WHN [mailto:rhlinux@xxxxxxxxxxx]
> Sent: Wednesday, February 23, 2000 8:23 AM
> To: Cobalt-Users@xxxxxxxxxxxxxxx
> Subject: [cobalt-users] untar and billing solution
> Importance: High
> 
> 
> 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?
> 
> 
> -----------
> Billing Solution
> 
> To everyone who emailed me in regards to the billing software i
> talked about, i have taken alot of suggestions and i am VERY sorry
> if i didnt email you back, right now i am focused on moving
> customers off my raq2 and onto my raq3
> 
> If you didnt hear from me, i got your email, its just this week and
> next week will be very hecktic for me!
> 
> 
> ______________________________
> Regards,
> Gary
> pepsicoke@xxxxxxx
> ______________________________
> 
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-users
> 
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-users
> 
> 
> _______________________________________________
> 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>

iQCVAwUBOLRBtMJVRNhVuH61AQGSFgP+JS9DBvgRnNh9lK4e0A8if1gluE45B2/w
RVN5Xj2HUF7XGEDV/itZ4UYxxBLAxKhF4DbHy//xVhfyWZRrrwZJ30SkI5TRSWVG
pnj17Vx53YOedr1YFL2CX2W/nkhdy+jdKjQ/rtr8Tz6goCN7RFXOlOMKB8e/x3LZ
3QjMfcOy+o4=
=EEgT
-----END PGP SIGNATURE-----