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 

rename and order per file creation date

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



Joined: 17 Jun 2008
Posts: 2

PostPosted: Tue Jun 17, 2008 9:32 pm    Post subject: rename and order per file creation date Reply with quote

I'm a newbie to PFrank and am trying to rename a bunch of mp3 files with a progressive counter, 001.mp3, 002.mp3, 003.mp3, etc., according to their modified date. I've figured out how to delete the current file names and insert a counter, but I can't seem to order the files by their modified date. The program seems to order the files by the old file name, then apply the counter name. I've tried sorting the files first by their creation date in the working folder, but this makes no difference. Any hints?

thanks
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 09 Mar 2007
Posts: 446
Location: Canada

PostPosted: Wed Jun 18, 2008 4:13 am    Post subject: Reply with quote

The way to do it is to run the scan just like you did before. Then reorder the files on the preview page by the creation date (ignore the counters for now).
Then press the rescan button on the preview page. This will reapply the renaming algorithm but will use the order specified on the preview page. The resulting counters should be what you want.

If you have any further questions then let me know!

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



Joined: 17 Jun 2008
Posts: 2

PostPosted: Wed Jun 18, 2008 2:48 pm    Post subject: Reply with quote

Thanks, it worked fine. BTW, I read somewhere that you used Python and wxWidgets to create PFrank...it that correct? I'm curious as to how you choose that platform....

Mike
Back to top
View user's profile Send private message
admin
Site Admin


Joined: 09 Mar 2007
Posts: 446
Location: Canada

PostPosted: Thu Jun 19, 2008 3:40 am    Post subject: Reply with quote

Happy to hear the suggestion worked!

As for why Python was chosen for this 'spare-time' project, it started when a colleague recommended trial'ing Python since his company had started to use it for their s/w development. I was impressed with the ease of use and support and at the same time happened to need a tool to do some file renaming. There were no suitable Windows-based tools available so I wrote the first renamer in Python and ran it using the IDLE interface. Then for fun I thought it would be cool to make a GUI version. Some googling pointed me to wxPython,. After using the extremely useful wxpython demo program as a guide, I was able to whip up the first screens and PFrank was born.

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