mirror of
https://github.com/cheat/cheat.git
synced 2024-11-22 14:01:36 +01:00
commit
760b0e4f78
29
cheatsheets/7z
Normal file
29
cheatsheets/7z
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
7z
|
||||||
|
A file archiver with highest compression ratio
|
||||||
|
|
||||||
|
Args:
|
||||||
|
a add
|
||||||
|
d delete
|
||||||
|
e extract
|
||||||
|
l list
|
||||||
|
t test
|
||||||
|
u update
|
||||||
|
x extract with full paths
|
||||||
|
|
||||||
|
Example:
|
||||||
|
7z a -t7z -m0-lzma -mx=9 -mfb=64 -md=32m -ms=on archive.7z dir1
|
||||||
|
|
||||||
|
-t7z 7z archive
|
||||||
|
-m0=lzma lzma method
|
||||||
|
-mx=9 level of compression = 9 (ultra)
|
||||||
|
-mfb=64 number of fast bytes for lzma = 64
|
||||||
|
-md=32m dictionary size = 32 Mb
|
||||||
|
-ms=on solid archive = on
|
||||||
|
|
||||||
|
7z exit codes:
|
||||||
|
0 normal (no errors or warnings)
|
||||||
|
1 warning (non-fatal errors)
|
||||||
|
2 fatal error
|
||||||
|
7 bad cli arguments
|
||||||
|
8 not enough memory for operation
|
||||||
|
255 process was interrupted
|
6
setup.py
6
setup.py
@ -5,9 +5,13 @@ import os
|
|||||||
|
|
||||||
setup(name='cheat',
|
setup(name='cheat',
|
||||||
version='1.0',
|
version='1.0',
|
||||||
description='Create and view interactive cheatsheets on the command-line', # nopep8
|
summary='Create and view interactive cheatsheets on the command-line',
|
||||||
|
homepage='',
|
||||||
author='Chris Lane',
|
author='Chris Lane',
|
||||||
author_email='chris@chris-allen-lane.com',
|
author_email='chris@chris-allen-lane.com',
|
||||||
|
license='',
|
||||||
|
description='',
|
||||||
|
platform='Posix',
|
||||||
url='https://github.com/chrisallenlane/cheat',
|
url='https://github.com/chrisallenlane/cheat',
|
||||||
packages=['cheatsheets'],
|
packages=['cheatsheets'],
|
||||||
package_data={'cheatsheets': [f for f in os.listdir('cheatsheets')
|
package_data={'cheatsheets': [f for f in os.listdir('cheatsheets')
|
||||||
|
Loading…
Reference in New Issue
Block a user