Re:The Command Line Murders
by rcthompson on Friday January 29, 2016 @03:18PM
(#10998161)
Atool already comes with appropriate aliases for all the common tasks:
$ wajig list-files atool | grep bin/
/usr/bin/atool
/usr/bin/arepack
/usr/bin/aunpack
/usr/bin/apack
/usr/bin/als
/usr/bin/acat
/usr/bin/adiff
With a simple alias, it isn't even necessary to remember the -x
This also protects you from badly made archives that explode hundreds of files into the current directory. All decompression is done in a temporary subdir, which is removed if there was only one file/dir at the top level.For xkcd, see atool's --explain or --simulate options that show you the generated tar/etc commands.
http://www.nongnu.org/atool/