開発日々の走り書き~

Days of development


VPS奮闘記[22]:7-Zipパッケージ導入!

ServersMan@VPS Standard」で「7-Zip」パッケージ導入!

目的は、ログファイルのバックアップを高圧縮で行うため!
高圧縮にすれば解凍に時間が掛かるものの、まあログファイルだから気にしない^^

[root@dti-vps-srv47 bak]# yum install p7zip

・・・

Dependencies Resolved

==================================================
Package Arch Version Repository Size
==================================================
Installing:
p7zip i386 9.20.1-2.el5 epel 748 k

Transaction Summary
==================================================
Install 1 Package(s)
Upgrade 0 Package(s)

Total download size: 748 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : p7zip 1/1

Installed:
p7zip.i386 0:9.20.1-2.el5

Complete!

[root@dti-vps-srv47 bak]# 7za

7-Zip (A) 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18
p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,1 CPU)

Usage: 7za […] […]
[< @listfiles...>]


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

-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


スポンサードリンク

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">