4 ms·
Tar with -a (automatic) is awesome. tar -xaf foo.tar.gz Will auto-un-gzip based on the extension. Also works with compressing: tar -caf bar.tar.xz bar/
by BenjiWiebe 2y ago
Tar with -a (automatic) is awesome.
tar -xaf foo.tar.gz
Will auto-un-gzip based on the extension. Also works with compressing:
tar -caf bar.tar.xz bar/
- ahartmetz 2y agoI just use tar xf file. The a option is probably only required when creating a tarball.