Download the directory form the below link and past it in the home directory.

When you click the link you will be redirected to seafile. You will see a folder named 'scripts'. If you look at the right end of the row in which the folder is, you well see the download button.

https://seafile.rlp.net/d/09cac49821724f5cbb6e/

Please go through the readme.txt for further instruction. The script will not work if you rename any of the files or folder in downloaded directory.