使用7z是注意的事项

CAUTION :
---------


- FIRST : DO NOT USE the 7-zip format for backup purpose on Linux/Unix because :
  - 7-zip does not store the owner/group of the file


  On Linux/Unix, in order to backup directories you must use tar !
  to backup a directory  : tar cf - directory | 7za a -si directory.tar.7z
  to restore your backup : 7za x -so directory.tar.7z | tar xf -


- if you want to send files and directories (not the owner of file)
  to others Unix/MacOS/Windows users, you can use the 7-zip format.


  example : 7za a directory.7z  directory


  do not use "-r" because this flag does not do what you think
  do not use directory/* because of ".*" files
   (example : "directory/*" does not match "directory/.profile")

你可能感兴趣的:(7z)