|
2010/5/4-26 [Computer/SW/Unix] UID:53816 Activity:nil |
5/3 Is it possible to bzip2 on the fly? Like: % dump_stuff | bzip2 -stdin > dump_file.bz2 \_ Yup, it works fine. You don't even need a flag: % dump_stuff | bzip2 > dump_file.bz2 \_ whoa, why didn't anyone tell me about this, and why is this not on the man page. I've been doing the stupid command for years: % mysqldump > f.sql; bzip2 f.sql \_ "If no file names are specified, bzip2 compresses from standard input to standard output." |