備份真的很重要...
Linux下,
rm -rf xxx
痾...一時手殘按錯...............
怎麼復原阿?

好在有3天前的備份,
更動到的資料還好不多...
真是危險,現在才發現資料甚於一切阿~
寧願花多一點錢買光碟買硬碟、買空間用RAID1做好保險,
現在一份資料都備份2~3份了,太恐怖了=.=

看來3天就要備份一次了,
解壓縮.7z某個資料夾不知怎麼用,
那個p7z 7zr參數還真難懂-.-?
只備份某些檔案或資料夾也不知怎麼下,
嗯...只好全備了..阿勒~還真肥吱吱...

7-Zip (A) 4.55 beta  Copyright (c) 1999-2007 Igor Pavlov  2007-09-05
p7zip Version 4.55 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,1 CPU)

Usage: 7zr <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 (see the manual)
  -l: don't store symlinks; store the files/directories they point to
  CAUTION : the scanning stage can never end because of symlinks like '..'
            (ex:  ln -s .. ldir)
  -o{Directory}: set Output directory
  -p{Password}: set Password
  -r[-|0]: Recurse subdirectories
  (CAUTION: this flag does not do what you think, avoid using it)
  -sfx[{name}]: Create SFX archive
  -si[{name}]: read data from stdin
  -slt: show technical information for l (List) command
  -so: write data to stdout (eg: 7zr a dummy -tgzip -so Doc.txt > archive.gz)
  -ssc[-]: set sensitive case mode
  -t{Type}: Set type of archive
  -v{Size}[b|k|m|g]: Create volumes
  -u[-][p#][q#][r#][x#][y#][z#][!newArchiveName]: Update options
  -w[path]: assign Work directory. Empty path means a temporary directory
  -x[r[-|0]]]{@listfile|!wildcard}: eXclude filenames
  -y: assume Yes on all queries

ca95 發表在 痞客邦 PIXNET 留言(0) 人氣()