06-08-20121
This commit is contained in:
@@ -98,6 +98,27 @@ $ ls archive.tar
|
||||
|
||||
Compresser avec zip:
|
||||
|
||||
```
|
||||
zip <archive.zip> <file1> <file2>
|
||||
zip <archive.zip> <file*>
|
||||
```
|
||||
|
||||
```bash
|
||||
$ zip p10k.zip p1Ok.zsh
|
||||
adding: p1Ok.zsh (deflated 63%)
|
||||
```
|
||||
|
||||
Options:
|
||||
|
||||
- -q : pas des sortie écran
|
||||
- -Z bzip2 : méthode de compression bzip2 (deflate par défaut)
|
||||
- -9 ... -0 : niveau de compression (maxi -> mini)
|
||||
- -e : avec mot-de-passe
|
||||
|
||||
|
||||
|
||||
Compresser un dossier avec zip:
|
||||
|
||||
```bash
|
||||
$ zip -r scripts.zip scripts/
|
||||
adding: scripts/ (stored 0%)
|
||||
|
||||
Reference in New Issue
Block a user