Help with 7zip
I have a huge folder of size 26.5GB. I would like to compress it using the highest compression possible and take a backup somewhere. The folder has only avi files in it. I used bz2 and created a tar archive using the command: tar -cvjf foo.tar.gz foo
However, after it ran all night, I checked the size of the tar arhive and it was around 26.2GB. Not as much compression as I expected. I did some digging and found out that 7zip is capable of higher compression than bz2. So I installed p7zip and tried to find a command to use it with tar. But I came up empty. So could someone please give me the command to use tar with 7zip with the highest compression possible?
Oh another thing, based on my system stats (you can find it in my signature) do you think I would run into some trouble if I use the highest compression in terms of memory requirement?