How do I convert .tar.gz and .tar.bz2 files to .7z files using the command line?
Update: I missed the '
You can pipe the tar output into a 7z like this,
tar xfj filename.tar.bz2 | 7z a -si filename.7z
tar xfz filename.tar.gz | 7z a -si filename.7z
This will save you the disk-space for extracted data -- but its not converting inline.
i did not personally tested this program but it says it does what you want , from their site :