AppleScript Transmit File Sync
I host this website's media in a S3 bucket. Transmit handles FTP, SFTP, WebDAV but also cloud services such as S3, Google Drive, Dropbox, Microsoft Azure...
I use File Sync in Transmit 5 to sync a local folder on my Mac with a S3 bucket.
Synchronization is a quick, fully automated method of bringing a folder up to date with the contents of another folder.
The name of the Transmit's favorite is images.sergiodelamo.com
. I wrote an AppleScript to trigger the sync:
tell application "Transmit"
activate
set myFave to item 1 of (favorites whose name is "images.sergiodelamo.com")
tell document 1
tell current tab
connect to myFave
synchronize local browser to remote browser
close remote browser
end tell
end tell
quit
end tell
Tags: #automation #applescript #transmit