I need to compress a directory for archiving purposes,
but before I can do that I need to know how much space
it will occupy. Is there a way I can find out how
much space it will take to tar | gzip it without
having to actually create the compressed file? I
thought perhaps about
tar -cvf - . | gzip - > /dev/null
but I don't know if that would work. Any comments via
email would be appreciated.