#1 2009-11-14 13:52

lolla
Member
Registered: 2009-11-14
Posts: 1

Folder name conversion can cause empty folders and renaming errors

We have the following file structure - [] denotes folders.

[Baa]
   [Waa waa]
      Foo.mp3
      BAR.mp3
   BAZ.mp3

We want to make all files and folders lowercase so we check the include folders as files option in the filters. We also want to change spaces to "_" .

We expect the following result:

[baa]
   [waa_waa]
      foo.mp3
      bar.mp3
   baz.mp3

Actual result:

[baa]
   [Waa waa]
   [waa_waa]
      Foo.mp3
      BAR.mp3
   baz.mp3

[Waa waa] folder remains but is empty, [waa_waa] folder is created and files are moved there. Renaming these files fails (which is noted in the application).

Offline

#2 2009-11-14 15:02

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,379

Re: Folder name conversion can cause empty folders and renaming errors

This is not a bug. I think you have misinterpreted the logic of renaming files and folders.

You must remember few things. Items in the renaming list are processed sequentially, from top to bottom. Renaming folders also moves all of its content to a new location, meaning that all items contained by these folders and scheduled for renaming somewhere down the list will fail to rename since their paths will already be changed.

You problem can be eliminated by sorting items by the Folder/Path column in reverse order.

This article might also be useful: Wiki: Renaming folders

P.S. This topic will be moved the "Help and Support" section.

Offline

Board footer

Powered by FluxBB