Help my sync my folders
August 9, 2006 2:07 PM
Subscribe
I spend an increasingly large amount of time in FTP client. Is there any way to set up a simple FTP sync script on OS X? I want to edit a file on my machine, hit save and it gets automatically uploaded to the relevant place on my FTP server(s).
If the upload doesn't work, it puts it in a queue for later upload. So, if the connection drops or you are at 30,000 feet, it will upload it later. Basically, make it so that I can remove another step from the whole process. Similarly, if you delete something, or move something, it should do so on the server. Basically, the server does everything that happens on my machine. And, preferably, it shouldn't cost anything.
posted by tommorris to computers & internet (12 comments total)
rsync --exclude=__Styles --bwlimit=20 -avP "home.example.com:/mp3/" ./music/
This excludes the directory "__Styles" because it's really just a collection of links, limits the bandwidth to 20K/s (optional, I do this so I don't kill the connection here at work).
It's free, and it may be available on your OSX installation already (I don't know much about OSX). It's unix-ish so if it's not there already it can probably be downloaded or built.
posted by RustyBrooks at 2:10 PM on August 9, 2006