Rename files which do not match a "dd-mm-yy" prefix

Post any Bulk Rename Utility support requirements here. Open to all registered users.

Rename files which do not match a "dd-mm-yy" prefix

Postby tomrobertson » Fri Jan 15, 2016 9:11 am

Hello all,

Hopefully an easy one, but one that I can't figure out for the life of me...

I have a bunch of files which get dropped into a directory every day. I use the following to perform a few actions to the files to tidy it up the files so they read better:

/STRIPSYMBOLS /TIDYDS /RECURSIVE /NOFOLDERS /PATTERN:*.eml /APPENDDATE:M:P:" ":-:1

Once the file is tidied up and renamed, I need to apply the same processing to any additional files which drop in the folder, but leave the files that already have been processed alone. What is happening is it is stripping the "-" and appending the date to the file again

What is happening is the following:
Filename 14-01-16 This is an email.eml would be renamed to 14-01-16 140116 This is an email.eml

If anyone could point me in the right direction I would be very grateful :)
tomrobertson
 
Posts: 1
Joined: Fri Jan 15, 2016 8:36 am

Re: Rename files which do not match a "dd-mm-yy" prefix

Postby Admin » Fri Jan 15, 2016 11:46 pm

Hi , I am not sure this can be done with the Bulk Rename command line, only within the GUI.
Something we plan to add is to make the GUI being able to run automatically.
Admin
Site Admin
 
Posts: 2351
Joined: Tue Mar 08, 2005 8:39 pm


Return to BRU Support