We had a site that we hosted with a third party and they never gave us ssh access to the box. So Deploying was a bit of a bi*(h. So i wrote this little one liner to get the files and zip em. We’d then email the zip file and have files deployed.

Obviously we would have to cd in to the project directory first. After that run this command:

svn diff -r REV:HEAD --summarize | sed 's/[A-Za-z][ ]\+//' | xargs zip myfiles.zip

Don’t forget to replace REV with your starting revision number. This might be when you started working on the project.