You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

sofmak86's avatar
sofmak86
Explorer | Level 4
6 years ago

Sync a folder via terminal

How can I sync a folder via terminal in Linux? I had installed Dropbox to that machine, but only synced one folder and now I need to work remotely from my Mac. I don't have 'physical access' anymore...
  • Walter's avatar
    Walter
    6 years ago

    Hey there sofmak86 - how are you today?

    From what I understand you'd like to sync back a folder that you had selectively unsynced in the past from this specific machine (the Linux one). 

    In that case, you'll need to use the "exclude" command first and let the app sync until it shows (reports) 'Up to date'. You can find more about the available commands below:

    https://www.dropbox.com/help/desktop-web/linux-commands

    Specifically your command should like: 

    'dropbox exclude remove [DIRECTORY] [DIRECTORY]' (where DIRECTORY refers to your folders' names)

    This removes one or more directories from the exclusion list, and then resynchronizes Dropbox. Please note that any specified path must be within the Dropbox folder.

    Let us know how it goes!

About Create, upload, and share

Find help to solve issues with creating, uploading, and sharing files and folders in Dropbox. Get support and advice from the Dropbox Community.

Need more support

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!