Hi, Fairly new to unraid, and not super computer literate compared to most people with a server... I'm trying to run a script to change files from hi.srt to sdh.srt. I started a dry run first and everything appeared right so I took that block out and ran it properly. The whole time going through it was letting me know it was renaming files and I didn't see it error out at all. However when it finally finished absolutely nothing was renamed. Just need some help understanding why and what I should change (and ideally why I should change it, so I can learn how this works for future scripts). Script is as follows #!/bin/bash echo "=== STARTING SRT RENAME SCRIPT ===" # Hardcoded root folder root_folder="/mnt/user/data/media" # Find and process .hi.srt files find "$root_folder" -type f -name "*.hi.srt" -print0 | while IFS= read -r -d '' file; do new_file="${file%.hi.srt}.sdh.srt" if [ "$dry_run" = true ]; then echo "[DRY-RUN] Would rename: $file -> $new_file" else # mv "$file" "$new_file" echo "Renamed: $file -> $new_file" fi done Thanks in advance for any help :)