command to uncompress .7z files

Polytropon freebsd at
Tue Sep 5 18:38:02 UTC 2017

On Tue, 05 Sep 2017 13:14:00 -0400, Ernie Luzar wrote:
> Is there a command that will uncompress a .7z file.
> Had no joy using "tor xp file.7z"  got this error msg
> tar: Error opening archive: Failed to open '/dev/sa0'

First of all, the correct command is

	% tar xvf file.7z

In case you don't specify a file name (f), tar will
assumes the system's default tape drive /dev/sa0,
because tar is the "tape archiver". :-)

See "man tar" for details.

In case tar cannot uncompress the 7zip format, install
the p7zip port. See "man 7z" for details (extract with
e or u function).

Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

More information about the freebsd-questions mailing list