Peters Flexible RenAmiNg Kit (PFrank) Forum Index Peters Flexible RenAmiNg Kit (PFrank)
Support and Discussion Site for the PFrank File/Folder Renaming Tool (***NEW HOME PAGE*** "http://pfrank.atwebpages.com")
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

rename Articimage-1.jpg ... Articimage-110.jpg to ... Image-

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



Joined: 12 Dec 2008
Posts: 2

PostPosted: Fri Dec 12, 2008 6:42 pm    Post subject: rename Articimage-1.jpg ... Articimage-110.jpg to ... Image- Reply with quote

Hi

Is there a way to rename a set of files
rename Articimage-1.jpg ... Articimage-110.jpg
to
Image567-.jpg Image-568.jpg

that is,
1. drop entire name
2. make new name using Image- prefix
3. specify a starting sequence number (567)

thanks
Matthew
Matthew@kleinosky.com
Back to top
View user's profile Send private message AIM Address
admin
Site Admin


Joined: 09 Mar 2007
Posts: 448
Location: Canada

PostPosted: Sat Dec 13, 2008 3:43 am    Post subject: Reply with quote

Hi Matthew,

Yes this can be easily done. Paste the following info into the specified rows/columns of the custom renaming creator (do not include the single quotes':

Row: 1
Search: '.*\.jpg'
Replace: 'Arcticimage.jpg'

Row: 2
Search:
Replace: '*Insert Counter after*Prefix*'

The first row is a regex that replaces everything with Acticimage.jpg.
The second row is a predefined command that inserts a counter.

Before pressing scan, go to the Options window (select Options... from the View pull-down menu of the main window). On the left side of the window, select 'Counter Insertion'. You'll see al the counter insertion options on the right side. Pick a start value of 567 and a separator equal to the dash ('-') character. Configure other options to modify things like the min/max number of digits in the number. Then press 'Apply'.

Now go back to the main window and press 'Scan'.
You should see a preview window pop up with the newname/oldnames displayed.

if you need to reorder things and then apply renumbering, then do the reordering on the preview window and press 'Rescan'.

Once you like what you see, then press Rename and you're done.

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



Joined: 12 Dec 2008
Posts: 2

PostPosted: Sat Dec 13, 2008 3:55 am    Post subject: Thanks! Reply with quote

thank you!
Back to top
View user's profile Send private message AIM Address
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