hey guys i have 100 or so files with the characters 'asimov' at the end, which i want to remove..
i'm using this to remove the 'asimov'
Rename PATTERN="asimov" TO=" " FINDREP
but that leaves a space at the end (maybe there's a better way to do it?)
so i'm then using this expression to remove trailing spaces
Rename PATTERN "(.[^ ])( +)(.[^ .])" TO "\1\3" REGEXP
which works fine
sometimes the filename has beginning spaces, so i added this in as well, for good measure, to remove those if they're there
Rename PATTERN "^ (.*)#" TO "\1" REGEXP
but, after opus removes trailing spaces, it shows the error 'cannot find the file specified' and i have to click the button again, then it removes any existing beginning spaces
is there something i need to add between 'remove trailing spaces' and 'remove beginning spaces' ?
thanks ahead, i am, not too good at this stuff, i usually try to tack my stuff together from things i've learned from other people here