Some useful scripts I've written along the way.
A wrapper around rsync with some useful options set. It requires you to set three environment variables. I do it in my shell profile, but you can do so anywhere:
BACKUP_EXCLUDEfile containing patterns (one per line) to excludeBACKUP_SOURCEdirectory to back upBACKUP_DESTINATIONdesired backup location
A Python 3 script that uploads all .torrent files in a directory (~/Downloads by default) to a Transmission server. Depends on the following packages, all of which can be installed with pip3:
blessingspath.pysend2trashtransmissionrpc
Run the script with --help to see the available options.