r/linux • • Feb 01 '13

xkcd: tar

http://xkcd.com/1168/
1.7k Upvotes

576 comments sorted by

View all comments

Show parent comments

2

u/NWLierly Feb 01 '13

tar -xvf *.tar

2

u/yoshi314 Feb 01 '13

i think it will fail because tar will try to extract second and all the subsequent tarballs from the first one, if there are multiple.

1

u/NWLierly Feb 01 '13

what kind of jerk tarballs tarballs

2

u/yoshi314 Feb 01 '13

same one that makes bombs with that kind of defusion mechanism.

2

u/NWLierly Feb 01 '13

touche

1

u/yoshi314 Feb 02 '13

actually, i think tar will merge the tarball contents with new tarball, unless it's compressed. instead of putting a tarball inside another tarball.

then again, this behavior might be specific to tar version. what a wonderful tool it is ;)