Is it possible to pipe a command output to bzip2 for compression to an output file?
Something along the lines of:
cat somefile.txt | bzip2 --output somefile.txt.bz2
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.Sign up to join this community