A curated collection of scripts to optimize and manage various functions related to Starr applications and associated tools. Occasionally holds random useful scripts as well. These scripts are designed to enhance functionality, improve management, and automate routine tasks. All scripts are Created By: Bakerboy448 unless otherwise noted.
Warning: Do not edit files on Windows that will be executed on Linux without ensuring the line-endings are set to LF
.
This means that CRLF
cannot be used in .sh scripts. Bash scripts will not execute properly and you will receive an
error.
- Script:
xseed_qbit_cat_filter.sh
- Description: Filters cross-seed requests by categories or trackers for execution by Qbittorrent.
- Instructions: Open the file in a text editor and modify the variable definitions at the top of the script, then replace the "Execute on completion" command in qBittorrent with the one given in the notes at the top of the script.
- Creator: zakkarry
- Usage: Execute the script to filter categories or trackers as needed in Qbittorrent setups.
- Script:
xseed.sh
- Description: Triggers a cross-seed search post-import or post-upgrade in Starr applications.
- Creator: Bakerboy448 with assistance from zakkarry
- Instructions
- If using environmental variables file, copy
.env.sample
to.env
. - If not using
.env
, open the script in a text editor and modify the required values under "# Xseed" header. - Ensure that your download client's NAME in the Download Client section of the respective *arr match the variables in the script.
- Docker Users: Mount
.env
andxseed.sh
to your Starr's/config
mount. - In your *arr, navigate to
Settings
->Connect
and add a "Custom Script" for the "On Import Complete" for Sonarr and "On File Import" and "On File Upgrade" for Radarr. - Test and Save.
- If using environmental variables file, copy
- Script:
xseed-update.sh
- Description: Updates the Cross-Seed tool to its latest version.
- Script:
dupe.sh
- Description: Executes
jdupes
to find and manage duplicate files in the specified directory. - Instructions:
- Copy
.env.sample
to.env
. - Populate required values under "# Jdupes" header.
- Review and adjust script parameters to fit your use case.
- Copy
- Output: Results are saved to a file as specified in the script.
- Script:
merge_folders.py
- Description: A robust utility designed for merging multiple directories into a single target directory, ensuring that no existing files are overwritten in the process. This script uses a recursive function to efficiently merge content, while providing detailed logging of each step to monitor the creation, movement, and skipping of files and directories.
- Features:
- Recursive Merging: Seamlessly combines contents of source directories into a target directory.
- Non-destructive: Preserves existing files by not overwriting them.
- Error Handling: Captures and logs errors during the merging process, ensuring reliable operations.
- Detailed Logging: Tracks and logs every file and directory operation, providing clear visibility into the process.
- Usage Case: Ideal for consolidating data in scenarios like organizing media libraries, merging data backups, or simplifying file system structures.
- Instructions:
- Update
source_dirs
and uncomment the variable - Update
target_dir
and uncomment the variable - Uncomment
atomic_moves
to engage the movement operation - Run the script with
python3 merge_folders.py
- Update
- Script:
notifiarr-branch-builder.sh
- Description: Reinstalls Notifiarr and allows selection of the installation branch, from apt or built from source.
- Review: Validate script parameters to ensure compatibility with your system.
- Script:
pic-update.sh
- Description: Updates Plex-Image-Cleanup to the latest branch.
- Review: Check that script parameters are suitable for your environment.
- Script:
pmm-update.sh
- Description: Updates Plex Meta Manager to the latest branch.
- Review: Confirm script parameters align with your configuration.
- Script:
qbm-qbit.sh
- Description: Executes QbitManage upon download completion in Qbittorrent.
- Instructions:
- Copy
.env.sample
to.env
. - Populate required values under "# Qbittorrent Manage" header.
- Copy
- Script:
qbm-update.sh
- Description: Updates QbitManage to the latest branch.
- Review: Ensure script parameters match your setup before execution.
- Script:
servarr/servarr_bot_merge.sh
- Description: Merges the latest changes from the Servarr Wiki Bot Branch into the Prowlarr Indexers Wiki Master.
- Script:
zfsburn.sh
- Description: Deletes ZFS autosnapshots older than a specified number of days.
- Instructions:
- Copy
.env.sample
to.env
. - Fill in the required values under "# ZFS Destroy" header.
- Copy
Contributions to improve or expand the scripts collection are welcome. Please refer to the contribution guidelines for more information.
This project is licensed under the MIT License - see the LICENSE file for details.