maestral icon indicating copy to clipboard operation
maestral copied to clipboard

Setting to ignore files above a certain size

Open DaGaMs opened this issue 7 months ago • 0 comments

Is your feature request related to a problem? Please describe.

I'm trying to use our business Dropbox account to store folders that contain research analysis files. Working in biological data science, some of these files are huge - many GB each one. I don't really want to sync them, I'm more interested in syncing the code and result files, which are small. I could of course separate the folder structure to keep the data files out of Dropbox, but this is sometimes inconvenient, as it breaks the link between code and data a bit.

Describe the solution you'd like

I would like to have a setting, something like maxFileSizeToSync. If a file is larger than than the setting, it will not be added to dropbox. I'm not sure if it would be possible to automatically add them to the excluded list, or easier to just silently ignore them like files in .mignore. Both would work for me, but implementationally it might be quite different.

It might also be nice to save download bandwidth and apply the same limit to downloads, in cases where large files are sometimes created by others?

Describe alternatives you've considered

The three options I have are:

  1. Change the way I organise projects, and keep all large files outside dropbox in the first place. Possible, but not nice, because it means I need to have 2 different places for files that relate to the same project
  2. Use a certain naming convention, e.g. always have a folder bigFiles and add that to the .mignore file. Possible, but not very flexible
  3. Manually add all the relevant files/folders to .mignore - very tedious, and easy to overlook some files

DaGaMs avatar Nov 13 '23 09:11 DaGaMs