HydrogenAudio

Hosted Forums => foobar2000 => General - (fb2k) => Topic started by: earlypaperboy on 2012-12-04 13:30:20

Title: How to rename folders [File Operations]
Post by: earlypaperboy on 2012-12-04 13:30:20
I want to rename folders according to the album and date tag using file operations, I just renamed files but don't know how to achieve the same for folders. I think it is possible.
Title: How to rename folders [File Operations]
Post by: Zarkon on 2012-12-04 13:36:13
There is no rename folder command. A workaround for some cases is to use the Move files command instead, with the move entire source folder & remove empty source folders options enabled.
Title: How to rename folders [File Operations]
Post by: earlypaperboy on 2012-12-04 14:12:31
Yes, I already tried the copy command (not move) and after copying operation completed it showed some error "copy operation failed" for some files. I chose "album" and "leave as is" in file name selector. Since that didn't worked that's why i am asking if there is some other way to rename folder.
Title: How to rename folders [File Operations]
Post by: Remedial Sound on 2012-12-04 15:26:51
Using the Move command will achieve your objective of renaming folders.  Say you have a folder in My Music/Artist currently named /xyzBlah123/ that you want to rename according to the album and date tags of the file contents (e.g., /The Blah Album (2012)/).  Select the album files and "Move" them to My Music/Artist (Destination folder) with the desired Sub-folder and file name pattern (from the ellipsis dialog window), and enable the options that zarkon already mentioned.

So technically foobar isn't renaming the folder, but rather moving the tracks to a properly named folder and cleaning up after itself (same end result).
Title: How to rename folders [File Operations]
Post by: earlypaperboy on 2012-12-04 16:02:56
Ok, I tried move operation it helped though it left few files which i have to move manually. Thanks.
Title: How to rename folders [File Operations]
Post by: EagleScout1998 on 2012-12-04 20:06:22
Quote
I chose "album" and "leave as is" in file name selector. Since that didn't worked that's why i am asking if there is some other way to rename folder.


As mentioned above, the "Move to..." command is what you want. However, it won't work unless it is properly configured.

In the "Destination folder", you need to provide a destination folder (duh!). The folder will NOT be created if it doesn't already exist. The destination folder, however, can also be entered into "File name pattern". The benefit of doing this is that it WILL be created automatically if said folder does not already exist.

Then you need to use file strings (e.g. %album artist%, %album%, %discnumber%, %tracknumber%, etc.) to create folders/files based on tag information.

If you have any additional files within the original source folder (such as album art), you need to make sure "Move entire source folder content" is checked.
Title: How to rename folders [File Operations]
Post by: Moth on 2012-12-08 01:47:42
I think there should be a feature added to tick or untick to delete the previous folder hmmm?