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
*latex*/*.acn
*latex*/*.acr
*latex*/*.alg
*latex*/*.aux
*latex*/*.bbl
*latex*/*.blg
*latex*/*.dvi
*latex*/*.glg
*latex*/*.glo
*latex*/*.gls
*latex*/*.idx
*latex*/*.ilg
*latex*/*.ind
*latex*/*.ist
*latex*/*.lof
*latex*/*.log
*latex*/*.lot
*latex*/*.lyx
*latex*/*.maf
*latex*/*.mtc
*latex*/*.mtc1
*latex*/*.out
*latex*/*.synctex.gz
*latex*/*.toc

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”.