Unix: Sync directory with FTP or SFTP directory

Posted by Svish on Super User See other posts from Super User or by Svish
Published on 2010-03-29T17:18:00Z Indexed on 2010/03/29 17:23 UTC
Read the original article Hit count: 277

Filed under:
|
|
|
|

I have a website on my local computer running Mac OS X. I am wondering if there is any built-in command that I can run in the Terminal that will upload that website to my webserver either through FTP or, if possible, SFTP. Installing new commands through MacPorts is also a possibility. A big bonus would be that it only uploaded the files that needs to be updated and not everything else.

It would also be nice if I can tell it to delete the files on the server that no longer exists locally once in a while.

Any good tips?

© Super User or respective owner

Related posts about mac

Related posts about unix