ZIP on the server

nvkelso edited this page Dec 11, 2012 · 6 revisions

Better zip on server

/1. To ZIP up a deploy folder and send to a client (without the .svn dirs in it):

svn export svn+ssh:// destination_folder_name

/2. then Zip that up...

zip -r out

(where -r is recursive, actually getting the files and dirs in that dir)

/3. See how much filesize you saved

du -h

After, use Transmit to copy ZIP to local machine

/4. Conversely, to expand the archive:


TAR and BZip

Uncompress / extract files:

tar -jxvf filename.tar.bz2