Hello,
I have some anime stored remotely on GDrive and would like to rename them into S##E## format instead of ###. I created a mapping and was able to do this with files that had consistent file naming scheme
for x in $(cat dbz_map.txt); do y=$(echo $x | grep -o -e ., | sed ‘s/.$//’) z=$(echo $x | grep -o -e ,. | sed ‘s/^.//’); rclone moveto GDrive:Anime/Dragon\ Ball\ Z/Dragonball.Z…$y.mkv GDrive:Anime/Dragon\ Ball\ Z/Dragon.Ball.Z.$z.mkv; done
Format for the mapping is just comma separated:
001,S01E01
002,S01E02
I ran into an issue where the episode has a unique value (episode title for example) after the episode number. I’ve tried using wildcards and filters and am not able to get this to work. It keeps telling me it can’t find the directory. When using a filter, it said it can’t move files on overlapping remotes.
Any ideas? Thanks