Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Problem with "File Operations" option (Read 673 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Problem with "File Operations" option

foobar2000 v1.5 beta 19

I use the "File Operations" option to move files. When I try to move a directory with files (from one location to the same) only changing the size of the letters, unfortunately it does not work.
For example:
I want to move the directory containing files to the same localization for example changing only one letter from upper case to lower case in the directory name
Kawa I Chleb
to
Kawa i Chleb

Code: [Select]
$replace($caps2(%album%), I , i )|%tracknumber%. %title%

Unfortunately, but the function does not work in the same directory, moving to another location, no problem.

Is this normal behavior or bug?

Re: Problem with "File Operations" option

Reply #1
It's expected behavior. The component takes your files and moves them to the new location and because of the non-case-sensitive file system the new location is the same as the old one.

You can circumvent it by first moving to a slightly changed destination, for example to "$replace($caps2(%album%), I , i )-\%tracknumber%. %title%" and then move back to "$replace($caps2(%album%), I , i )\%tracknumber%. %title%".

Or you can test foo_renamer. It doesn't move files, it renames each part of the path to new pattern.

 

Re: Problem with "File Operations" option

Reply #2
@Case
Thanks for the clarification