Re: Pipe to tar or other compressor
Daniel Pittman <[email protected]>
| Newsgroups | gmane.org.user-groups.linux.new-zealand.general |
|---|---|
| Message-ID | <CABNGp=RRDJrr+X65bedXJ3QKR4nSf4qK3rjFhLbJpVdYn8XW0A@mail.gmail.com> |
On Sun, Oct 16, 2011 at 01:50, Peter <[email protected]> wrote: > How do you pipe to something that will compress well? ] mysqldump | {xz, bzip2, gzip} > Ive tried this: > mysqldump {opts} | 7za a -t7z -an -si -so > outfile.7z > doesnt work becasue 7z needs to seek Yah. Also, if you read the documentation, 7za is highly unrecommended for use on Unix because it doesn't preserve much data. If you needed to collate multiple files you would better have used tar and xz format. Since you had only one, just xz would be the best choice. :) Daniel -- ♲ Made with 100 percent post-consumer electrons _______________________________________________ NZLUG mailing list [email protected] http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug