Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
sleepysloth
5 years agoExplorer | Level 3
files missing in synced folders on Linux, but not online or on Windows
I've been using Linux for a few months and the Linux version of Dropbox has been great. Recently, though, I wiped Linux, installed Windows, and then installed Linux again so I can dual-boot. I didn't...
Здравко
5 years agoLegendary | Level 20
Ok, all seems fine. Let's see the last steps. Check the current status using following:
dropbox status
Post the result and try again the following:
(IFS=$'\n'; for a in `find /mnt/sdc1/Dropbox -type d -print`; do if [[ "$a" =~ "/.dropbox" ]]; then echo "<empty>"; else cd $a; echo "In directory $a:"; dropbox filestatus; fi; done) | grep -vE "<empty>|up to date|\.dropbox|infinite" | grep -B 1 -vE "In directory .+:"
... to see if there is something wrong. Is there something received as a troublesome? 🤔 Hope if there is, the troubles to be less than before. Post such results, if there are some.
sleepysloth
5 years agoExplorer | Level 3
For the first one, it said "Up to date."
The second one took quite awhile. Eventually it produced "bash: cd: too many arguments."
- Здравко5 years agoLegendary | Level 20
sleepysloth wrote:
...The second one took quite awhile. Eventually it produced "bash: cd: too many arguments."
🤔 I confess, can't be sure what this means. If your folders/files count is big, the time for enumerating and evaluating every one is proportional, so it's normal to "took quite awhile". There is single "cd" command that in all calls takes single argument only. Can do you post the part where Eventually it produced "bash: cd: too many arguments."? 🧐
- sleepysloth5 years agoExplorer | Level 3
That's the only thing it displayed. I did it again and it still just displayed "bash: cd: too many arguments" and nothing else.
- Здравко5 years agoLegendary | Level 20
sleepysloth wrote:That's the only thing it displayed. I did it again and it still just displayed "bash: cd: too many arguments" and nothing else.
🤔Hm... The only chance such things to happen is using within file/folder name some unusual symbol, like semicolon, and some very old bash interpreter version. For actual versions this shouldn't be an issue, but... Let's try a bit patched variant of the command:
(IFS=$'\n'; for a in `find /mnt/sdc1/Dropbox -type d -print`; do if [[ "$a" =~ "/.dropbox" ]]; then echo "<empty>"; else echo "In directory $a:"; cd "$a"; dropbox filestatus; fi; done) 2>&1 | grep -vE "<empty>|up to date|\.dropbox|infinite" | grep -B 1 -vE "In directory .+:"
Now even for an old and buggy bash interpreter this should work (no chance the only argument be interpreted as multiple) and even when there is such or other error gonna be clear where exactly (in which directory) it happens. Let's see... 🧐
- sleepysloth5 years agoExplorer | Level 3
This just didn't produce anything for me. I tried it a couple times. It took awhile each time and then just displayed a blank command prompt.
- Здравко5 years agoLegendary | Level 20
sleepysloth wrote:This just didn't produce anything for me. ...
That's a good news generally. 🤷 If there is some result produced, it would be error and the result would direct where particular error comes up. In your case you haven't issues related to OS permission, for example, or similar able to prevent sync. I can't say anything more about your missing entries. Try trace what exactly you are syncing actually and where the discrepancy lies on exactly to fix it by hand. That's it.
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.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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, Facebook or Instagram.
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!