Seafile-ignore.txt for downloaded files

Hey,

I am using the seafile-ignore.txt a lot and its working perfect if all clients have the same configuration.
But now I have another scenario:

client 1: has all jpgs and raw images
client 2: wants only the jpgs

So I have a library with all jpgs and raw images. client 1 does not have a seafile-ignore.
I created a seafile-ignore for client 2 ignoring all raw images (and itself too, so client 1 does not get the same). When applied, I can delete all raw images without syncing the deletion to the server.
But when client 1 adds another raw image, it gets downloaded at client 2 (but you don’t see the green checkmark, as it is ignored).

Is there a workaround or could this be implemented in the next version?

Thank you!

1 Like

I am replying in order to let you know I am also interested in a more mature ignoring system of files.
I have similar use cases but as soon implementing them, I stumble upon the limited capabilities of the seafile-ignore.txt.

Thanks anyway for addressing it into future work!

1 Like

it’s 2024 and this feature is still missing.
@daniel.pan what do you think?

Please see also Make the Seafile Client parse .gitignore files on a per-directory basis - #3 by Garfield and Allow alternative ignore file name: .seafileignore (along with seafile-ignore.txt) - #6 by Martin

We don’t have a plan to implement such a feature yet.

Hey,
thank you for this statement.

When syncing a library with an existing folder, all files and folders will be downloaded, even if some are excluded via the seafile-ignore.txt
Can you please fix at least this?

seafile-ignore.txt only ignore files and folders that not synced yet. If files/folders are already in the server, it will be downloaded to local.

I also have several use cases where I would highly use advanced filters to ignore some files or folders. The way that git does it is really nice. It would really improve many aspects of my work.