Results 1 to 5 of 5
  1. #1


    Member Since
    May 29, 2009
    Posts
    233
    Specs:
    Mac Mini 2.26Ghz 8GB RAM
    Syncing folder with DropBox
    I'm running Snow Leopard and want the contents of the DropBox folder to sync with another folder. How do I set that up with Automator or AppleScript? I've no experience of either.

  2. #2

    MacGrunt's Avatar
    Member Since
    Aug 02, 2011
    Posts
    16
    G'day Mikethebook

    I'm assuming you just want to copy items added to the dropbox into a destination folder? (ie. not an actual 'syncing' of the two folders).
    You could set that up as a Folder Action Script attached to your dropbox. Not sure if the procedure is the same for Snow Leopard see how you go.

    Copy this into Script Editor (found in Applications > Applescript) :
    Code:
    on adding folder items to mgFolder after receiving mgFiles
      set mgFolder to "Macintosh HD:Users:macgrunt:Desktop:Duplicates Folder:"
      tell application "Finder"
        duplicate mgFiles to mgFolder
      end tell
    end adding folder items to
    You need to reset that path within double-quotes to your own destination folder. The easiest way to get the path is to select your destination folder in the finder and then run this from Script Editor :
    Code:
    tell application "Finder"
      get selection as string
    end tell
    That will give you the folder path in your results window.

    OK, once you've updated the script to your setup, it needs to be saved (as a script) into the Folder Action Scripts folder somewhere like this : Macintosh HD:Library:Scripts:Folder Action Scripts:

    Then right-click on your dropbox and go down to "More..."
    If you see "Enable Folder Actions", choose that.
    Then right-click again and choose "Attach Folder Action".

    The rest should be straight-forward.

    Hope that helps.

    m.

  3. #3


    Member Since
    May 29, 2009
    Posts
    233
    Specs:
    Mac Mini 2.26Ghz 8GB RAM
    Thanks for your help but I actually want things the other way round. I want to copy items added to a certain folder to be automatically added to Dropbox and for items removed from the folder to also be removed from Dropbox.s So I guess that I do want Dropbox to sync with this folder.

  4. #4

    BrianLachoreVPI's Avatar
    Member Since
    Feb 25, 2011
    Location
    Maryland
    Posts
    3,733
    Specs:
    March 2011 15" MBP 2.3GHz i7 Quad Core 8GB Ram | Mid 2011 27" iMac 3.4 GHz i7 16 GB RAM 2 TB HDD
    Quote Originally Posted by Mikethebook View Post
    Thanks for your help but I actually want things the other way round. I want to copy items added to a certain folder to be automatically added to Dropbox and for items removed from the folder to also be removed from Dropbox.s So I guess that I do want Dropbox to sync with this folder.

    But that's what Dropbox is - a local folder on your drive that syncs with dropbox. If you have to do one outside of Dropbox - you'll need to use symlinks I believe - but back when I was considering something similar it ended up feeling like a waste since it's just an extra step for what Dropbox is natively designed to do.

  5. #5

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,788
    Specs:
    Early 2015 13" rMBP
    I'm with BrianLachoreVPI - this is what the Dropbox folder is for. It might help if we know why you want to do this since it seems like a more efficient solution might be possible.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. My Dropbox folder on my MBP claims to have more in it than it does
    By oxband in forum OS X - Operating System
    Replies: 5
    Last Post: 05-28-2015, 09:38 AM
  2. Dropbox folder on iPhone
    By abbrian1 in forum iPhone Hardware and Accessories
    Replies: 5
    Last Post: 04-09-2014, 10:19 AM
  3. cannot download in all browsers, dropbox not syncing
    By paradox148 in forum OS X - Operating System
    Replies: 2
    Last Post: 07-06-2011, 09:23 AM
  4. iMac & MBP Syncing via Dropbox with Symlinks
    By dwilt in forum OS X - Operating System
    Replies: 0
    Last Post: 04-27-2011, 11:21 AM
  5. Syncing a folder from WINDOWS to OS X
    By coreymcl in forum Switcher Hangout
    Replies: 1
    Last Post: 07-17-2004, 11:39 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •