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

desmond_singh's avatar
desmond_singh
New member | Level 2
4 years ago

Trying to save files directly on Dropbox (not on hard drive), but they still save on Hard-Disk Drive

Hi All,

 

Let me start by saying I'm brand new to dropbox, so I apologize if my concerns are low-level and I thank you for your patience in advanced.

 

Here are my details:

 

I'm a Bioinformatics student, and I've created a BASH script that:

 

  1. unzips 22 large files (*.vcf.gz to *.vcf)
  2. assigns these unzipped files to a new subfolder within the original directory
  3. concatenates these 22 files into a single, large file

Each unzipped file (*.vcf) is ~ 22 GBs large, so they eat up the space on my hard-disk drive (HDD).

 

Accordingly, I've downloaded the dropbox application on my laptop and moved the project directory within the dropbox application

(ex. '/Users/myprofile/"Dropbox (Personal)"/project_directory').

 

When I run the BASH script that performs the above 3 steps, it doesn't run to completion because the unzipped files are saved to my HDD and it can't store 484+ GB of data. 

 

I'm wondering how I can make it such that when I run the BASH script, the 22 unzipped files and the large, concatenated file are automatically saved onto the dropbox application and NOT my HDD. 

 

I have 2 TB of dropbox space and I'm working on a MacBook Pro (13-inch, M1, 2020) running Big Sur v11.4 

 


  • desmond_singh wrote:

    I'm wondering how I can make it such that when I run the BASH script, the 22 unzipped files and the large, concatenated file are automatically saved onto the dropbox application and NOT my HDD.


    You can't. That's not how Dropbox works. It's not a cloud-based folder. It's a regular folder on your local hard drive like any other, and anything stored in the folder takes up space on the drive. Files saved in the folders are synced to your account online. It's not possible to save directly to the cloud, bypassing your local drive.

  • Rich's avatar
    Rich
    Icon for Super User II rankSuper User II

    desmond_singh wrote:

    I'm wondering how I can make it such that when I run the BASH script, the 22 unzipped files and the large, concatenated file are automatically saved onto the dropbox application and NOT my HDD.


    You can't. That's not how Dropbox works. It's not a cloud-based folder. It's a regular folder on your local hard drive like any other, and anything stored in the folder takes up space on the drive. Files saved in the folders are synced to your account online. It's not possible to save directly to the cloud, bypassing your local drive.

    • Rodger C.'s avatar
      Rodger C.
      Helpful | Level 5

      I read this because I have the same issue.  Why does Dropbox say it stores in a cloud, if it (supposedly) doesn't?  Now I don't know who to believe.

       

      I've got files piling up on my solid state HD that I never knew were there, it's never happened before the last couple of months, and now the drive is almost full.  When I found these files today I deleted them but then when I went to Dropbox my folder had disappeared (it's not even my folder, another user set it up for me on his account), and my hard drive is about to crash.

       

      I store NO files on my solid state drive, it's not big enough.  Those are supposed to load on the disk drive.  I even migrated the Dropbox folder I found on the SS drive to the disk, but that didn't work.  I'm trapped and I guess it'll be impossible to use Dropbox any more.

      • Rodger C.'s avatar
        Rodger C.
        Helpful | Level 5

        (Replying to my own message) I've read about the "sync online only" feature but it's the first I've heard of it --- and yet, that problem of Dropbox storing old unneded files on my solid state hard drive seems to have somehow fixed itself without intervention.  I did not know about the sync option and didn't take that step, it simply started behaving.  This is still concerning since I still don't know what was happening and can't predict if it will happen again.  But I've loaded several fairly big files into that folder, it has ceased archiving on my poor overworked hard drive, and the files transferred without a hitch, which is what I expected from the beginning.  ¯\_(ツ)_/¯

         

        I should add that my own Dropbox account, the one I'm actually signed up with, has never acted this way.

      • chicago pixel pusher's avatar
        chicago pixel pusher
        New member | Level 2

        Maybe I'm confused, but I disagree. If you select the sync online option only you save the local hard drive space. This may depend upon your account. Not sure if it works on the free version. It is confusing to set this. I'm on a Mac and can only do it if I'm running the app locally.

        Right click on a file or folder and hover over the sync to show this option. It does seem to behave like a cloud only virtual drive.

        I find that when I create new folders and add files I have to select this option each time. There may be a global setting that I've missed.

    • izzi-e's avatar
      izzi-e
      New member | Level 2

      There is a smart sync option in settings that allows you to save files as an online-only file, that doesn't take up space on your hard-drive. However, once you need to view it again, I believe it will download and become a local file that does take up space. I'm not sure if there's a way to bypass having to download the file on top your hard drive first before uploading it as an online-only folder, but if you have enough space initially, this could be a good option. If you only need to store the large files in Dropbox, then it does work as a cloud based folder. 

       

      Here's a link for the Smart Sync feature help:

      https://help.dropbox.com/installs-integrations/sync-uploads/smart-sync 

About View, download, and export

Need support with viewing, downloading, and exporting files and folders from your Dropbox account? Find help 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!