A very large rename job over many folders

Post any general comments regarding Bulk Rename Utility here. Open to all registered users.

A very large rename job over many folders

Postby roylefamily » Mon Jun 10, 2013 4:35 am

Hi,

Just downloaded the software. Before I delve I would like to check,

I am transferring a 10,000 song library to an original xbox for XBMC. The xbox operating system has a file length limit that causes grief on the transfer. Chopping off file names at a certain length can cause non unique file names. Various apps. exist to combat this but they are unreliable. As the library will index the music file meta tags the names aren't important.

I would like to do a mass renaming. The directory structure is flat with /Music/Album/songfile.mp3

I would like to end up with
Music/1/1.mp2
Music/1/2.mp2
.
.
Music/2/1.mp2
Music/2/2.mp2
.
.
and so on.

The job can rename all files regardless of if they are mp3, mu3, jpg etc.

An additional nicety would be if the jpg file can be renamed x.jpg were x is the folder name.

Thanks,

Steven
roylefamily
 
Posts: 5
Joined: Mon Jun 10, 2013 4:19 am

Re: A very large rename job over many folders

Postby roylefamily » Mon Jun 10, 2013 5:36 am

Hi,

So file numbering is easy, the trick is to get it to number all folder (can do that) but reset the counter in each folder.
roylefamily
 
Posts: 5
Joined: Mon Jun 10, 2013 4:19 am

Re: A very large rename job over many folders

Postby roylefamily » Mon Jun 10, 2013 5:54 am

Ok,

I'm self documenting now.

2; File remove

10; Prefix with folder ticked

File pane sorted on sub directory before rename.

All works. Now I need a second job to rename any image file to the directory name. This will make XBMC adopt it as the album thumbnail by default.
roylefamily
 
Posts: 5
Joined: Mon Jun 10, 2013 4:19 am

Re: A very large rename job over many folders

Postby roylefamily » Mon Jun 10, 2013 6:39 am

^.*(.jpg)$

Does this mean match any characters any number of times followed by a group ".jpg" ?
roylefamily
 
Posts: 5
Joined: Mon Jun 10, 2013 4:19 am

Re: A very large rename job over many folders

Postby roylefamily » Mon Jun 10, 2013 12:28 pm

So then I do the job again with section 12 enabled and *.jpg in the box.

Looks like I'm done except I only want the largest file size renamed if there is more than one jpg in a folder.
roylefamily
 
Posts: 5
Joined: Mon Jun 10, 2013 4:19 am


Return to General Comments