Re: Regarding tar and split
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 10/10/07 04:43, Sean Zimmermann wrote:
> Hello.
>
> I frequently work with large tar archives that often need to be split into
> smaller pieces. Up until now, I've used tar -m to create multi-part archives. I
- -M
> recently read that I can use split to do the same thing. Is there an advantage
> or disadvantage to using split over tar -m?
Since split(1) can take it's input from stdin, ISTM that compati-
bility should be a driving force in your decision.
> Also, is there some way to index a large tar file, so if I want to extract a
> file at the end of a large archive, tar doesn't have to seek through the entire
> archive to get the file?
tar(1) means Tape ARchive. Since tape drives are sequential beasts,
there's not much purpose in indexing tarballs.
OTOH, ar-balls appears to create internal indexes.
> Thank you for any help.
- --
Ron Johnson, Jr.
Jefferson LA USA
Give a man a fish, and he eats for a day.
Hit him with a fish, and he goes away for good!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHDMQNS9HxQb37XmcRAgIBAKDGoild3yvehP4INaU1o9yNZNHJrgCgyohe
MVGQnw5s5KBJ6+gyrRCtgBo=
=R5Nv
-----END PGP SIGNATURE-----
Reply to: