
This is the first expression I tried:
Code: Select all
filebot -script fn:replace --action test --def "e=_" "r= " /path/files
Code: Select all
filebot -script fn:replace --action test --def "e=_" "r= " /path/files
Code: Select all
filebot -script fn:replace . --action test --def "e=(.*?)_(.*?)" 'r=$1 $2'
It's ugly but it worksrednoah wrote:This really ugly hack will do though:For these kind of simple rename tasks you can probably find specialized tools or shell scripts.Code: Select all
filebot -script fn:replace . --action test --def "e=(.*?)_(.*?)" 'r=$1 $2'
Code: Select all
rename 's/_/ /g' name/of/directory/Dragonball_z*
Code: Select all
rename -n 's/_/ /g' */*
I know but the reason why I'm using filebot for this is because the rename util isn't available on my NAS. I can debian-chroot it but I haven't gotten around to it yet.Kaffe wrote:As you're on Linux, just use the command "rename" instead.
Code: Select all
rename 's/_/ /g' name/of/directory/Dragonball_z*