Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Better iDisk sync using Transmit' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Better iDisk sync using Transmit
Authored by: jweinberger on Mar 04, '05 01:57:12PM

Dogboy: That is a great idea and a very effective way to sync automatically whenever there is a change.

Also, you don't actually need to have Transmit running. This script will (at least it does for me) launch Transmit, and it also quits Transmit at the end (take out the quit if you don't want that)

Two additional notes I did not include (OK, I forgot - it was late), just for completeness:

1) The reason this syncs the folders individually is to avoid having Transmit try to sync folders like the "software" folder on iDisk. This woudl cause problems...

2) This does a non-destructive update of all the files, both local and network resident. In other words, if you create something on your iDisk (say using iPhoto to make a homepage web page), it will be sync-ed to your local iDisk copy. Likewise if you create a site (this is my primary use) on your local iDisk copy, it will copy it to your internet-based iDisk.

What this WILL NOT do is delete files in either location. This means that if you remove a file from the local copy, this will not remove it from the network copy, and vice-versa. I did this intentionally, so that Apple losing my data (has happened repeatedly) does not destroy my local copy, and restore is as easy as sync.

If you WANT to delete files on both ends (like the Apple sync does), use sync method "mirror" instead of "update" in the sync commands.

Thanks!!



[ Reply to This | # ]