Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
97
rated 0 times [  97] [ 0]  / answers: 1 / hits: 501256  / 3 Years ago, sat, june 19, 2021, 8:02:22

Is there a way to extract files of tar.7z format using command line tools in Ubuntu?


More From » tar

 Answers
3

Yes - the package p7zip / p7zip-full provides a command-line application to zip/unzip 7z files. The command is simply 7z.



You can combine a 7z / tar call using a pipe:



7z x -so yourfile.tar.7z | tar xf - -C target_dir


where target_dir is a already-existing directory.


[#29601] Saturday, June 19, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tinchir

Total Points: 300
Total Questions: 116
Total Answers: 119

Location: American Samoa
Member since Sun, Jan 17, 2021
3 Years ago
;