Skip to content
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://sub.domain.com/var/svn/projectname/trunk/subdirs/ destination_folder_name

/2. then Zip that up...

zip -r out.zip out

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

/3. See how much filesize you saved

du -h out.zip

After, use Transmit to copy ZIP to local machine

/4. Conversely, to expand the archive:

unzip out.zip

TAR and BZip

Uncompress / extract files:

tar -jxvf filename.tar.bz2

Clone this wiki locally