docs:tips_n_tricks:max_os_x:zip.html
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
docs:tips_n_tricks:max_os_x:zip.html [13.08.2012 14:00 CEST] – created peter | docs:tips_n_tricks:max_os_x:zip.html [30.06.2021 00:22 CEST] (current) – peter | ||
---|---|---|---|
Line 10: | Line 10: | ||
unzip backup - | tar -xf - | unzip backup - | tar -xf - | ||
| | ||
- | This will not work. The reason is - as stated in the man page as well - that zip switches to //Zip64// mode which is suited for large files as on a pipe the file size is not known in advance. And obviously can' | + | This will not work. The reason is - as stated in the man page as well - that zip switches to //Zip64// mode which is suited for large files as on a pipe the file size is not known in advance. And obviously |
- Pack with '' | - Pack with '' | ||
- | tar -cv - . | zip backup -fz- -</ | + | tar -cv - * .* | zip backup.zip -fz- -</ |
- Unpack with '' | - Unpack with '' | ||
- | funzip backup | tar -xf -</ | + | funzip backup.zip | tar -xf -</ |
According to the man page, '' | According to the man page, '' | ||
+ | |||
+ | {{entry> | ||
+ | {{entry> | ||
+ | {{tag> |
docs/tips_n_tricks/max_os_x/zip.html.1344859230.txt.gz · Last modified: 13.08.2012 14:00 CEST by peter