I use Dropbox to share files between my home desktop computer, and my laptop. My Dropbox account now has a terabyte of space, and my home computer has many hundreds of gigabytes of space. My laptop, though, has an 80GB SSD drive, and after accounting for system files, swap, and other stuff, I have about 50GB available space for my Dropbox directory.
I've discovered that if I move over 50GB of files into my Dropbox directory on my home computer, then it causes all sorts of hassle when I start up my laptop. It gets caught trying to sync more files than it has space for, and then gets in a bit of a loop, as I remove the newly synced files and it tries to re-download them.
In order to prevent this mistake happening in the future, it'd be great if I could set a limit on the size of my Dropbox folder on my home computer. Either make it fixed at a certain size, or warn me if it has more then a certain amount of data. Is this possible?
I've looked into a linux command called
quota, but it seems to involved mounts and partitions and I'm not sure if it's right for me, or if it can be used with my Dropbox folder. I'm hoping there's some configuration or third party software that can act on my existing setup.