We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
xmontero
2 months agoExplorer | Level 4
Is it possible to have some files as online-only and others as available offline?
Hi all
I use a Plus account (2TB dropbox space)
I am currently syncing the desktop app on a 1TB drive.
It seems that currently all of my dropbox files are synced on top of the hard disk. ...
Jay
Dropbox Staff
Hi xmontero, thanks for contacting us!
Yes, this would be possible using two methods:
- You can mark entire folders as online-only, which means they don't take up space on your machine, but you can still see the folder structure.
- Another method is using selective sync, which will remove the folders entirely from your computer, so, they aren't visible in your structure, but they are still accessible from the site.
Both features can be used at the same time, and serve different functions depending on your requirements.
If you need any further assistance, please let me know!
xmontero
2 months agoExplorer | Level 4
Hi, Jay!
Thanks, I see this behaviour:
- I select a folder (say Cold Storage) and I right-click and select "Online only".
- The folder icon changes from the green check-mark into a gray cloud.
- Inside it I have placed a video, it's also marked as cloud:
- In git-bash, I navigate to the Drobox main folder, and I do an `ls -l` and it works normally:
- I then list the contents of that folder, also from gitbash. It "hangs" for a few seconds and it shows that Drobox starts syncronizing:
- After a few seconds, the bash command ends up writing the output and the file starts occupying the hard disk space again, according to its icon:
Questions are:
- How is it possible that making an "ls" starts a download?
- Even if `ls` forced a download for any extrange reason (which it should not), why it "switches my setting" instead of using the local copy temporarily instead of keeping the flag set?
I mean... it's undesirable that if I plan to store say 1 million files in the "cold storage", by doing an `ls -lR` to get the index of what's in there but actually not reading the files at all forces me to download the full "online-only folder" as well as having to "mark it again off-line" once the `ls -lR` finishes.
How can I have a "cold storage" that is "online only", for which I can list contents from the command line in windows, and without having to "set it over and over and over again" to "online-only"?
- Rich2 months agoSuper User II
xmontero wrote:
How is it possible that making an "ls" starts a download?If an external program tries to access a file that's marked as Online-only, it could cause Dropbox to download it again. Dropbox has no control over this. It just knows that some program is trying to access a file, so it has to sync it so the file back local again.
Even if `ls` forced a download for any extrange reason (which it should not), why it "switches my setting" instead of using the local copy temporarily instead of keeping the flag set?It does set it temporarily, sort of. The file doesn't get set back to Available Offline (solid green, white check). It's simply marked as Available (green outline, green check). This indicates a file that has been opened locally and been made available on the drive again. If you run low on drive space, Dropbox can make these files Online-only again to save space.
If doing an ls -lR in looking to display any information about a file that isn't stored locally, Dropbox will need to download the file so that data can be retrieved. There's no way around that.
About Storage Space
Looking for help with managing the storage space in your Dropbox account? Talk to the Dropbox Community and get advice from members.
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!