Post History
tar can do it all: $ tar --extract --ungzip --one-top-level --file archive.tar.gz That will result in a directory named according to the archive (so just archive in this case) containing the ex...
Answer
#3: Post edited
- `tar` can do it all:
- ```commandline
$ tar --extract --ungzip --file archive.tar.gz- ```
- That will result in a directory named according to the archive (so just `archive` in this case) containing the extracted files. The original `archive.tar.gz` is not consumed.
- For more info, checkout the (extensive) [official documentation](https://www.gnu.org/software/tar/manual/).
- `tar` can do it all:
- ```commandline
- $ tar --extract --ungzip --one-top-level --file archive.tar.gz
- ```
- That will result in a directory named according to the archive (so just `archive` in this case) containing the extracted files. The original `archive.tar.gz` is not consumed.
- For more info, checkout the (extensive) [official documentation](https://www.gnu.org/software/tar/manual/).
#2: Post edited
- `tar` can do it all:
- ```commandline
- $ tar --extract --ungzip --file archive.tar.gz
- ```
That will result in a directory named according to the archive (so just `archive` in this case) containing the extracted files. The original `archive.tar.gz` is not consumed.
- `tar` can do it all:
- ```commandline
- $ tar --extract --ungzip --file archive.tar.gz
- ```
- That will result in a directory named according to the archive (so just `archive` in this case) containing the extracted files. The original `archive.tar.gz` is not consumed.
- For more info, checkout the (extensive) [official documentation](https://www.gnu.org/software/tar/manual/).