cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
We want to hear from you. What projects do you use Dropbox for?
Close

Dropbox teams & admins

Got a question about your Dropbox Business account? Get help from users like you. Post a question to get started.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted

How to remove spaces from Dropbox folder names (spaces causing issues)

Explorer | Level 4

Hi There,

We need to run Bitnami web stacks but the path contains spaces because of the Dropbox folder name.

How do we rename the folders so there aren't spaces?

Or if we unsubscribe from Dropbox for business (we've found it kind of painful in practice) will the personal dropbox folder name get renamed to 'Dropbox' (without spaces/brackets)?

Cheers

Ben

1 Accepted Solution

Accepted Solutions
Highlighted

Re: How to remove spaces from Dropbox folder names (spaces causing issues)

Super User II
Super User II

Ben S.48 wrote:

How do we rename the folders so there aren't spaces?


There is no official method to rename the Dropbox folder. Any account that uses Teams or Dropbox for Business will have its Dropbox folder renamed to include the name of the team/business.

There is a way to do it but it is completely unsupported (i.e. USE AT YOUR OWN RISK). Exit Dropbox. Make a note of the EXACT Dropbox folder name. Rename it to "Dropbox" and then create a symlink using the original folder name and pointing to the Dropbox folder. Relaunch the client.

Or if we unsubscribe from Dropbox for business ... will the personal dropbox folder name get renamed to 'Dropbox' (without spaces/brackets)?

Existing folders will not be renamed, but any new installations would not have the team/business name in the folder. For existing installations you would need to uninstall Dropbox, rename the folder, then reinstall again, pointing the client to the existing Dropbox folder.

View solution in original post

9 Replies 9
Highlighted

Re: How to remove spaces from Dropbox folder names (spaces causing issues)

Super User II
Super User II

Ben S.48 wrote:

How do we rename the folders so there aren't spaces?


There is no official method to rename the Dropbox folder. Any account that uses Teams or Dropbox for Business will have its Dropbox folder renamed to include the name of the team/business.

There is a way to do it but it is completely unsupported (i.e. USE AT YOUR OWN RISK). Exit Dropbox. Make a note of the EXACT Dropbox folder name. Rename it to "Dropbox" and then create a symlink using the original folder name and pointing to the Dropbox folder. Relaunch the client.

Or if we unsubscribe from Dropbox for business ... will the personal dropbox folder name get renamed to 'Dropbox' (without spaces/brackets)?

Existing folders will not be renamed, but any new installations would not have the team/business name in the folder. For existing installations you would need to uninstall Dropbox, rename the folder, then reinstall again, pointing the client to the existing Dropbox folder.

View solution in original post

Highlighted

Re: How to remove spaces from Dropbox folder names (spaces causing issues)

Explorer | Level 4

Awesome, thanks heaps. Will remove the team account. Cheers

Highlighted

Re: How to remove spaces from Dropbox folder names (spaces causing issues)

New member | Level 2
New member | Level 2

It will be nice if Dropbox added an official method to do this. Spaces in paths cause all sorts of trouble for people who use dropbox to store source code. Any plans to do so? 

Thanks

Highlighted

Re: How to remove spaces from Dropbox folder names (spaces causing issues)

Super User II
Super User II

mirestrepo wrote:

Any plans to do so?


Best guess... not likely.

Highlighted

Re: How to remove spaces from Dropbox folder names (spaces causing issues)

New member | Level 2
New member | Level 2
THANK YOU!!!!
Highlighted

Re: How to remove spaces from Dropbox folder names (spaces causing issues)

New member | Level 2
New member | Level 2

I don't want to knock your suggestion, but I really don't want to be futzing with symlinks across multiple machines and platforms. I can just see myself making a mistake and losing files. And since I refuse to have filenames with brackets or spaces (let alone both!) on my computers, there seems to be no way I can use a separate "Dropbox (Work)" account. This is a deal breaker for me--I won't be using the Work account I just created until Dropbox fixes this problem.

Highlighted

Re: How to remove spaces from Dropbox folder names (spaces causing issues)

Helpful | Level 6

Because I have to keep doing this, I'm providing this step-by-step for macOS.

After installing Dropbox through Sydney University business account, it creates a folder called "Dropbox (Sydney Uni)" in my home directory by default, which breaks all my code in shared projects. So I want to rename the default folder to "Dropbox" (I don't have a personal Dropbox account).

After installing Dropbox and once it has finished downloading all your files to the default directory, the blue badges will disappear and be replaced with a green tick on all the completely downloaded files. We can now begin.

1. Quit Dropbox (select the cog in the Dropbox menubar item).

2. In Finder, rename the "Dropbox (Sydney Uni)" folder to "Dropbox"

3. open Terminal and navigate to your home directory 

cd ~

4. create a symlink to the "Dropbox" folder with the same name as the default Dropbox directory (in my case "Dropbox (Sydney Uni)")

ln -s Dropbox Dropbox\ \(Sydney\ Uni\)

5.  hide the new symlink so you don't have to be reminded of the stupid decisions of the Dropbox development team every day

chflags -h hidden Dropbox\ \(Sydney\ Uni\)

6. check your work

ls -l

drwx------@ 12 rich  staff   384 19 Nov 21:10 Dropbox
lrwxr-xr-x   1 rich  staff     7 19 Nov 21:27 Dropbox (Sydney Uni) -> Dropbox

7. restart Dropbox. It shouldn't complain about anything since it sees the new symlink as the default folder

 

 

Highlighted

Re: How to remove spaces from Dropbox folder names (spaces causing issues)

New member | Level 2
New member | Level 2

Thanks, rwmorris, this method worked for me.

Highlighted

Re: How to remove spaces from Dropbox folder names (spaces causing issues)

Explorer | Level 4

Thank you @rwmorris very much !!

You saved my life !!

Polls
Do you know how to organize your files and folders?
We have created a guide on folder best practice, so you can get organized now check it out here.

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?