Ignore-Function for SeaDrive (like seafile-ignore.txt)

Hello,

I would love to see an ignore feature in SeaDrive, similar to the seafile-ignore.txt functionality available in the Seafile Sync Client.

My use case:

I use SeaDrive for software development projects, among other things. During development, files and folders such as .envor node_modules are created, which I don’t want to store in my cloud because they either contain sensitive information or are simply unnecessary to synchronize.

However, I still want to synchronize the main project folder normally through SeaDrive.

The Seafile Sync Client is not a suitable alternative for me because the Files-on-Demand functionality of SeaDrive is important to me. Additionally, I don’t want to have to install two separate clients just to exclude certain files from synchronization.

Ideally, SeaDrive would support ignore rules (node_modules/) that allow specific files and folders to remain local without being uploaded to the server, while the rest of the project continues to synchronize normally.

Would it be possible to integrate such an ignore feature directly into SeaDrive?

Thank you very much!

There is an existing feature request for SeaDrive ignore rules covering this use case, including node_modules and seafile-ignore.txt-style exclusions: SeaDrive ignore certain folders · Issue #2955 · haiwen/seafile · GitHub

You can follow or add your use case to that request. It is open, but there is no confirmed delivery date. Until exclusion support is confirmed for your SeaDrive version, keep sensitive files such as .env outside the SeaDrive mount rather than relying on ignore rules to prevent uploads.

Okay, yeah, that’s too bad. It would be great if this feature could be added at some point. Nextcloud already offers something like this, and since I switched from Nextcloud to Seafile, I miss that option a little.

As far as I understand, SeaDrive already automatically ignores macOS `.DS_Store` files. Wouldn’t it be relatively easy to add typical software development directories and files—such as `node_modules`, `_pycache_`, and other temporary Python files—to the ignore list as well?

To be honest, I can hardly think of a use case where you’d actually want to sync such files. That’s why it would be great if SeaDrive could ignore them by default

Alternatively, is there a simple workaround or little trick to prevent certain development files and folders from being synchronized without having to use two separate clients?

I’d really like to keep using SeaDrive exclusively while making sure files like node_modules, and other development-related files stay local and are never uploaded to the server.