Auto rsync local changes to remote server
senko.net
senko.net
Similarly, if you use vim you can edit the remote file directly:
vim scp://hostname/filenameMy thinking was that a script would sync changes on the dev server to a intermediate staging server and commit the changes. For deployment to prod i'd like to copy just the files that changed up to production. Should I just write a shell script or are there better tools for the job?
So, if I save the file in editor, it takes a second or so to get it synced. I'm the type of person that hits save very often, sometimes unconsciously, so I wouldn't want the editor to freeze for a moment every time I do it.