Re: Pipe to tar or other compressor

Hadley Rich <[email protected]>
Newsgroups gmane.org.user-groups.linux.new-zealand.general
Message-ID <[email protected]>
On 16/10/11 21:50, Peter wrote:
> How do you pipe to something that will compress well?
>
> Ive tried this:
>
[...]
>    mysqldump {opts} | tar -cf --lzma - > outfile.7z
>
> doesnt work because tar expects a directory

mysqldump {opts} | gzip > foo.sql.gz

hads
-- 
http://nicegear.co.nz
Open Source Hardware Supplier.

_______________________________________________
NZLUG mailing list [email protected]
http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.