Page 1 of 1

Select files from subfolder for batch rename

Posted: 11 Mar 2012 01:56
by jacksonmacd
The folder structure is like this:

Code: Select all

2001
   01
   02
   ...
  12
2002
  01
  02
  ...
  12
2003 
...
I want to select all the files in the 01 subfolders so I can rename them with a consistent prefix. Once the files are selected, I believe the batch rename will do the job. Then I want to select all the 02, and rename them with a different prefix. Etc. I thought the branch view would allow me to do this, but I haven't been able to figure it out. Any suggestions.

Thanks

Re: Select files from subfolder for batch rename

Posted: 11 Mar 2012 20:59
by jacksonmacd
Having seen 16 viewers and no answer, I suppose it's not feasible. Too bad...

I wrote a VBA program to loop thru all the folders and rename the files. Kinda kludgey, but it got the job done. Thanks anyway for looking!

Re: Select files from subfolder for batch rename

Posted: 11 Mar 2012 22:25
by RalphM
Well, I think you could certainly have got it done with a XY script as well, but apparently our scripting guys were having other things to do since you posted your request...

Re: Select files from subfolder for batch rename

Posted: 11 Mar 2012 23:41
by j_c_hallgren
RalphM wrote:Well, I think you could certainly have got it done with a XY script as well, but apparently our scripting guys were having other things to do since you posted your request...
I'm also pretty sure that it could have been done via XY script also but as RalphM suggests, I suspect the handful of scripting experts who help out here were busy with "real life"...It's really hit-or-miss as to whom is here and when so I wouldn't take the lack of response as anything except bad timing.

Re: Select files from subfolder for batch rename

Posted: 15 Mar 2012 01:55
by jacksonmacd
Yes - I looked at using XY scripting, but for expediency I just reverted to something familiar.