Re:What do you use for site coding, FTP, and file management...
by daleharvey on Sunday November 15, 2009 @03:25PM
(#943302)
I generally use svn export as opposed to an actual working copy
Re:What do you use for site coding, FTP, and file management...
by LiveTheDream on Monday November 23, 2009 @10:11PM
(#958620)
rsync does delete files if you ask it too. See the man page :)
Generally, I prefer rsync. Rsync can exclude all of the .svn directories so you are pushing the latest working copy and it also only pushes files that are new or have been changed on the source machine.
You can easily write up a little deployment script that you run when you are ready and up you go; it does many of the same things (exception being delete) that Subversion's update command does for you.
Because I use rsync with a shell (rather than it's daemon process), I generally have a passwordless private key to the server so rsync can run without constantly asking me to authenticate.