Move music file one level up (from directory to parent_directory)

Hello! I need again some help here.

I need to move some music files which are in dedicated CD01, CD02, etc folder one level up (into de _parent _directory).

Folder structure it's something like this:
C:\Users\stoic\OneDrive\Desktop\Audio\2Pac\2Pac - All Eyez on Me [2004]\CD01\Song.flac

Should become:
C:\Users\stoic\OneDrive\Desktop\Audio\2Pac\2Pac - All Eyez on Me [2004]\Song.flac

Keep in mind that "C:\Users\stoic\OneDrive\Desktop\Audio" could change.
And I need this done by an action not tag to filename (because it will be added into a sequence of actions..)

Thank you!!

Try an action of the type "Format value" for _FILENAME
Format string: ..\%_filename%

1 Like

Please be aware that if you move

to the same "one level up" folder
C:\Users\stoic\OneDrive\Desktop\Audio\2Pac\2Pac - All Eyez on Me [2004]
you will overwrite one of your tracks Song.flac, because you can not have the same file twice with the same name in the same directory.

1 Like

Agreed.

If you are going to do this, you should consider renaming the files to also include the disc number and track number. Something like %discnumber%-%track%. %title% helps keep the filenames unique per folder.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.