Command to "flatten" folder structure

I’ve got a folder which is structured like this:

Folder/ArtistName1/AlbumName1/filename1.mp3
Folder/ArtistName2/AlbumName2/filename2.mp3
etc…

I’m trying to “flatten” the folder structure, so all the media files are moved from their various nested folders to the root of the folder.

What would be the rclone command to do this?

There isn’t an easy rclone command that’s not really it’s spot.

You could mount it and use something along these lines:

Much easier with a mount and unix commands than even trying to think of a way through rclone.

1 Like