Saturday, June 22, 2013

[LINUX_Newbies] Re: 7zip OR p7zip?

 



--- In LINUX_Newbies@yahoogroups.com, Cameron Simpson <cs@...> wrote:
>
> On 21Jun2013 14:10, highskywhy@... <highskywhy@...> wrote:
> | | Is there also a workshop
> | | for learning to use p7zip?
> |
> | The p7zip command is called "7z". So the command "man 7z" shows you
> | the manual entry for that command. That should tell you how to use
> | it.
> | *
> | Sorry I cannot understand.
> |
> | man 7zip
> | no answer in terminal.
>
> Looks like the 7zip commands do not come with manual pages.
> That's pretty awful. Slack. Lazy. Shoddy.
>
> Try running the command:
>
> 7z -h
>
> and see it it has some useful messages. Desperate, but may work.
>
> But you at least have a "p7zip" command with a man page.
>
> | p7zip(1) General Commands Manual
> | p7zip(1)
> |
> | NAME
> | p7zip - Wrapper on 7zr, a 7-zip file archiver with high
> | compression
> | ratio
>
> So, it is a wrapper for the 7zr command. Try "man 7zr". Might work.
>
> | SYNOPSIS
> | p7zip [-d] [-h|--help] [file]
> | -h print this help
> | -d decompress file
>
> It is not a great manual page.
>
> | SEE ALSO
> | 7z(1), 7za(1), 7zr(1), bzip2(1), gzip(1), zip(1)
>
> This says that there should be manual entries (and commands) named
> 7z, 7za and 7zr.
>
> | So is it
> | 7zip
> | or pz7ip?
>
> See above.
>
> | Is the command to decompress:
> |
> | p7zip package.zip -d
>
> It is pretty obvious from the SYNOPSIS section that the -d comes _before_ the filename.
>
> | Is the command to compress:
> |
> | p7zip pic.jpg zip.zip
>
> I doubt it.
>
> Most UNIX people use tar (or sometimes cpio) and combine it with
> gzip or bzip2 (often using tar's "z" or "j" options).
>
> Zip and friends mostly get use on Windows, and have pretty clunky
> and uninuitive command line options.
>
> Cheers,
> --
> Cameron Simpson <cs@...>
>
> Every weather is leather weather. - Tomkin Coleman <tcolema@...>
>

The documentation that came with my package is not so terrible.

$ dpkg -L p7zip-full | grep man

/usr/share/doc/p7zip-full/DOCS/MANUAL/commands
/usr/share/doc/p7zip-full/DOCS/MANUAL/commands/extract.htm
/usr/share/doc/p7zip-full/DOCS/MANUAL/commands/extract_full.htm
/usr/share/doc/p7zip-full/DOCS/MANUAL/commands/list.htm
/usr/share/doc/p7zip-full/DOCS/MANUAL/commands/update.htm
/usr/share/doc/p7zip-full/DOCS/MANUAL/commands/style.css
/usr/share/doc/p7zip-full/DOCS/MANUAL/commands/test.htm
/usr/share/doc/p7zip-full/DOCS/MANUAL/commands/index.htm
/usr/share/doc/p7zip-full/DOCS/MANUAL/commands/add.htm
/usr/share/doc/p7zip-full/DOCS/MANUAL/commands/bench.htm
/usr/share/doc/p7zip-full/DOCS/MANUAL/commands/delete.htm
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/7za.1.gz
/usr/share/man/man1/7z.1.gz

__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (5)
Recent Activity:
To unsubscribe from this list, please email LINUX_Newbies-unsubscribe@yahoogroups.com & you will be removed.
.

__,_._,___

No comments:

Post a Comment