If you’re working with LaTeX and store you tex-Files in a Seafile repository you might end up with tons of files which are generated by the LaTeX compiler. Since they don’t need to be tracked by Seafile I came up with the following solution.

Place a file called seafile-ignore.txt in the root of your library and fill it with this:

## exclude LaTeX compile files from syncing

This will prevent Seafile from syncing this files if you’re working in a (sub-) folder that contains the expression “latex”. This way you can still track .log files as long as they are not in a directory that contains the word “latex”. Be aware of the fact that this matches also if one of the parent folders contains the expression “latex”.