Di Jun 25 09:33:00 2013
Good morning
Thank You for help.
> | | 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.
*
OK
> That's pretty awful. Slack. Lazy. Shoddy.
*
What can I do?
Is this a problem of Xubuntu?
>
> Try running the command:
>
> 7z -h
*
OK
Thank You.
p:~$ 7z -h
7-Zip 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18
p7zip Version 9.20 (locale=de_DE.UTF-8,Utf16=on,HugeFiles=on,2 CPUs)
Usage: 7z <command> [<switches>...] <archive_name> [<file_names>...]
[<@listfiles...>]
<Commands>
a: Add files to archive
b: Benchmark
d: Delete files from archive
e: Extract files from archive (without using directory names)
l: List contents of archive
t: Test integrity of archive
u: Update files to archive
x: eXtract files with full paths
<Switches>
-ai[r[-|0]]{@listfile|!wildcard}: Include archives
-ax[r[-|0]]{@listfile|!wildcard}: eXclude archives
-bd: Disable percentage indicator
-i[r[-|0]]{@listfile|!wildcard}: Include filenames
-m{Parameters}: set compression Method
-o{Directory}: set Output directory
-p{Password}: set Password
-r[-|0]: Recurse subdirectories
-scs{UTF-8 | WIN | DOS}: set charset for list files
-sfx[{name}]: Create SFX archive
-si[{name}]: read data from stdin
-slt: show technical information for l (List) command
-so: write data to stdout
-ssc[-]: set sensitive case mode
-t{Type}: Set type of archive
-u[-][p#][q#][r#][x#][y#][z#][!newArchiveName]: Update options
-v{Size}[b|k|m|g]: Create volumes
-w[{path}]: assign Work directory. Empty path means a temporary directory
-x[r[-|0]]]{@listfile|!wildcard}: eXclude filenames
-y: assume Yes on all queries
Shall I use
p7zip
7zip
7z?
>
> and see it it has some useful messages. Desperate, but may work.
*
I copied them.
>
> 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.
*
I do:
man 7z
7z(1) General
Commands Manual
7z(1)
NAME
7z - A file archiver with highest compression ratio
SYNOPSIS
7z [adeltux] [-] [SWITCH] <ARCHIVE_NAME> <ARGUMENTS>...
DESCRIPTION
7-Zip is a file archiver with the highest compression ratio. The
program supports 7z (that implements LZMA compression algorithm), LZMA2,
XZ, ZIP,
Zip64, CAB, RAR (if the non-free p7zip-rar package is
installed), ARJ, GZIP, BZIP2, TAR, CPIO, RPM, ISO, most filesystem
images and DEB formats.
Compression ratio in the new 7z format is 30-50% better than
ratio in ZIP format.
7z uses plugins to handle archives.
FUNCTION LETTERS
a Add
d Delete
e Extract
l List
t Test
u Update
x eXtract with full paths
SWITCHES
-ai[r[-|0]]{@listfile|!wildcard}
Include archives
-ax[r[-|0]]{@listfile|!wildcard}
eXclude archives
-bd Disable percentage indicator
-i[r[-|0]]{@listfile|!wildcard}
Include filenames
-l don't store symlinks; store the files/directories they
point to (CAUTION : the scanning stage can never end because of
recursive symlinks
like 'ln -s .. ldir')
-m{Parameters}
Set Compression Method (see
/usr/share/doc/p7zip-full/DOCS/MANUAL/switches/method.htm for a list of
methods)
-mhe=on|off
7z format only : enables or disables archive header
encryption (Default : off)
-o{Directory}
Set Output directory
Manual page 7z(1) line 1 (press h for help or q to quit)
>
> | SYNOPSIS
> | p7zip [-d] [-h|--help] [file]
> | -h print this help
> | -d decompress file
>
> It is not a great manual page.
*
Is
7z
and
p7zip the smae?
Is p7zip a GUI for 7z?
What is 7zip?
You see
a beginner like me is confused.
I am sorry.
So
>
> | 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.
Are there
7z
7za
7zr
7zip
p7zip?
?
>
> | So is it
> | 7zip
> | or pz7ip?
>
> See above.
*
OK
>
> | Is the command to decompress:
> |
> | p7zip package.zip -d
>
> It is pretty obvious from the SYNOPSIS section that the -d comes
> _before_ the filename.
Maybe
7z -d package.zip
>
> | Is the command to compress:
> |
> | p7zip pic.jpg zip.zip
>
> I doubt it.
*
OK
>
> Most UNIX people use tar (or sometimes cpio) and combine it with
> gzip or bzip2 (often using tar's "z" or "j" options).
*
Because my friends and I
use
DOS
WIN
Linux
until today
we sent
picture like
pic.zip
and save them in ZIP Files.
It is or it was much better
then
send pic.jpg.
>
> Zip and friends mostly get use on Windows, and have pretty clunky
> and uninuitive command line options.
*
What does mean clunky?
>
Regards
Sophie
Reply via web post | Reply to sender | Reply to group | Start a New Topic | Messages in this topic (6) |
No comments:
Post a Comment