View previous topic :: View next topic |
Author |
Message |
minnew
Joined: 17 Jun 2008 Posts: 2
|
Posted: Tue Jun 17, 2008 9:32 pm Post subject: rename and order per file creation date |
|
|
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 |
|
 |
admin Site Admin
Joined: 09 Mar 2007 Posts: 448 Location: Canada
|
Posted: Wed Jun 18, 2008 4:13 am Post subject: |
|
|
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 |
|
 |
minnew
Joined: 17 Jun 2008 Posts: 2
|
Posted: Wed Jun 18, 2008 2:48 pm Post subject: |
|
|
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 |
|
 |
admin Site Admin
Joined: 09 Mar 2007 Posts: 448 Location: Canada
|
Posted: Thu Jun 19, 2008 3:40 am Post subject: |
|
|
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 |
|
 |
|