Hi all,
I've found (and somewhat modified) an AppleScript to sync a research folder on my MacBook with a directory on my FTP server so I can have access here and at the office to an exact close of a file system (as well as backup remotely).
I've used Lingon to run this script everytime I modify the folder. The issue is, that when this happens, Cyberduck pops up a new browser window (I know I can set it not to jump to the front). I'd prefer if I could sync without any Cyberduck window popping up (and the only thing on the Desktop is the Growl notification).
Possible?
Also, is there a way to set it so Cyberduck ALWAYS two-way syncs? I've ticked off "mirror" when manually syncing, and it seems to have locked that in, but there seems to be no definite preference that sets it up.
(Forgive me if I made a mistake or two, I've only used OS X for a month now)
I've found (and somewhat modified) an AppleScript to sync a research folder on my MacBook with a directory on my FTP server so I can have access here and at the office to an exact close of a file system (as well as backup remotely).
tell application "Cyberduck"
set theServer to "ftp.XXXXX.com"
set theUser to "syncfiles"
set thePassword to "XXXXXX"
set theProtocol to "ftp"
set theRemoteFolder to "/docs/"
set theLocalFolder to "~/Docs/"
set theBrowser to (make new browser)
with timeout of 300 seconds
tell (theBrowser)
set the encoding to "UTF-8"
set show hidden to false
connect to theServer with protocol theProtocol as user theUser with password thePassword
change folder to theRemoteFolder
sync folder (get working folder) with local folder theLocalFolder
disconnect
end tell
end timeout
end tell
I've used Lingon to run this script everytime I modify the folder. The issue is, that when this happens, Cyberduck pops up a new browser window (I know I can set it not to jump to the front). I'd prefer if I could sync without any Cyberduck window popping up (and the only thing on the Desktop is the Growl notification).
Possible?
Also, is there a way to set it so Cyberduck ALWAYS two-way syncs? I've ticked off "mirror" when manually syncing, and it seems to have locked that in, but there seems to be no definite preference that sets it up.
(Forgive me if I made a mistake or two, I've only used OS X for a month now)