How do I compress a directory?

Posted by user9589 on Ask Ubuntu See other posts from Ask Ubuntu or by user9589
Published on 2011-02-21T06:00:05Z Indexed on 2011/02/21 15:33 UTC
Read the original article Hit count: 182

Filed under:
|
|

I'm trying to compress a directory and ftp it to a windows ftp.

I have tried every tar command I can find to compress a directory. It appears to be ok. Then I transfer it and view it's contents using Winrar. Winrar keeps telling me the file is corrupted. I have viewed other .gz or .bz2 files using winrar but for some odd reason I can't get it to work.

I would prefer just to have it zip the files so they have a .zip extension but even then when i try to browse it's contents both windows and winrar claim it's corrupt.

Does anyone else have a suggestion as to something else to try?

© Ask Ubuntu or respective owner

Related posts about compression

Related posts about gzip