Rename into subfolders

Would you like Bulk Rename Utility to offer new functionality? Post your comments here!

Rename into subfolders

Postby Viper007Bond » Mon Aug 28, 2006 11:42 am

I apologize if this is already possible, but I couldn't figure out how.

I'd like the ability to rename into subfolders. For example:

foobar.blah-coolfile.jpg -> \foobar\blah\coolfile.jpg

I tried just putting in a \, but of course it said that was a non-allowed filename. :(

And before anyone says it, no, just stripping off the first bit of the filename and then manually moving them into a subfolder will not work. I want to move a couple thousand files into a couple hundred folders.
Viper007Bond
 
Posts: 2
Joined: Tue Jul 11, 2006 1:06 pm

Postby Admin » Mon Aug 28, 2006 3:16 pm

Hi,

Yes , unfortunately this logic does not currently exist. BRU allows you to rename files to a new location, but it needs a fixed location. This is because it uses the Windows API "MoveFileEx" to move the file, and the destination folder must already exist. So the logic is not particularly flexible.


Jim
Admin
Site Admin
 
Posts: 2344
Joined: Tue Mar 08, 2005 8:39 pm

Postby Viper007Bond » Tue Aug 29, 2006 12:03 am

Would it not be possible for BRU to just make the folders and then move them in?

But anyway, don't worry about it. I just realized that I can move all the files over to my local development webserver and use a couple lines of PHP to easily do it. :)
Viper007Bond
 
Posts: 2
Joined: Tue Jul 11, 2006 1:06 pm

Postby Admin » Tue Aug 29, 2006 7:48 am

It would be possible I guess.
Admin
Site Admin
 
Posts: 2344
Joined: Tue Mar 08, 2005 8:39 pm


Return to Suggestions