Rocky Ou wrote:
Hey,Can anyone tell me how to compress a directory so that I could SCP it to remote server more quikly? I tried gzip -cf directoryName it does not work, And then I tried tar -vf DirectoryNme no rerult as well. I may blind but I could not find solution in gzip --help as well.Thanks a lot in advance!
tar -cvj directory -f directory.tar.bz2