Peters Flexible RenAmiNg Kit (PFrank) Forum Index Peters Flexible RenAmiNg Kit (PFrank)
Support and Discussion Site for the PFrank File/Folder Renaming Tool (http://www3.telus.net/pfrank)
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

how do i bulk change xxxx_3x2 to xxxx-6?

 
Post new topic   Reply to topic    Peters Flexible RenAmiNg Kit (PFrank) Forum Index -> Regular Expressions
View previous topic :: View next topic  
Author Message
grievousangel



Joined: 24 Mar 2010
Posts: 3

PostPosted: Wed Mar 24, 2010 1:11 pm    Post subject: how do i bulk change xxxx_3x2 to xxxx-6? Reply with quote

Hello all,

this is my first visit.

i need to change 256 PNG file names.

they are in 4 different formats, i.e. xxx, xxxx_3x1, xxxx_3x2, xxxx_4x3.

i need to change to:

xxxx = xxxx-1
xxxx-3x1 = xxxx-3
xxxx_3x2 = xxxx-6
xxxx_4x3 = xxxx-12

all files are PNG images with PNG extension (xxxx-12.PNG)

is this easy to do?

how would i use RenAmiNg Kit to do this?

many thanks,
billy
_________________
GrievousAngel
SE USA
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 09 Mar 2007
Posts: 446
Location: Canada

PostPosted: Thu Mar 25, 2010 3:09 pm    Post subject: Reply with quote

Hi,

Add the following to the custom renaming creator (do not include the single quotes):

Row: 1
Search: '(?E)xxxx\-3x1'
Replace: 'AAAA-3'
Row: 2
Search: '(?E)xxxx_3x2'
Replace: 'AAAA-6'
Row: 3
Search: '(?E)xxxx_4x3'
Replace: 'AAAA-12'
Row: 4
Search: 'xxxx'
Replace: 'xxxx-1'
Row: 5
Search: 'AAAA'
Replace: 'xxxx'

Then press scan.
Not sure if you mistyped the '-' in the row 1 example (the other examples used '_'.

Hope that helps.

Peter.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
grievousangel



Joined: 24 Mar 2010
Posts: 3

PostPosted: Sun Mar 28, 2010 2:22 pm    Post subject: Renaming custom string Reply with quote

hello,

can i apply this to columns content in excel? content in files?

thanks.

billy
_________________
GrievousAngel
SE USA
Back to top
View user's profile Send private message
grievousangel



Joined: 24 Mar 2010
Posts: 3

PostPosted: Sun Mar 28, 2010 2:24 pm    Post subject: documentation on custom scripts Reply with quote

hello,

is there documentation on the script syntax? wild cards use? does it use standard syntax or is it cutom for this app?

thanks,
billy
_________________
GrievousAngel
SE USA
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 09 Mar 2007
Posts: 446
Location: Canada

PostPosted: Sun Mar 28, 2010 6:19 pm    Post subject: Reply with quote

I'll answer the 2 previous posts in this one.

1)
the renaming commands can only be applied to the names of files. Not the content unless it is the comment field of mp3/jpeg tags.

2)
The syntax for the renaming commands is fully documented in the online manual and on the pfrank web site. The syntax for regular expressions is standard but I added a few custom extensions (e.g. the (?E) syntax.

Peter.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Peters Flexible RenAmiNg Kit (PFrank) Forum Index -> Regular Expressions All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group. Hosted by phpBB.BizHat.com


Start Your Own Video Sharing Site

Free Web Hosting | Free Forum Hosting | FlashWebHost.com | Image Hosting | Photo Gallery | FreeMarriage.com

Powered by PhpBBweb.com, setup your forum now!
For Support, visit Forums.BizHat.com