Thread Locked This thread is locked - replies are not allowed.


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 6 - Pages: 1 - Last Post: 18 Jun 08, 23:18 Last Post By: davidekholm
davidekholm

Posts: 3,808
Registered: 18-Oct-2002
Batch rename files
Posted: 1 Apr 08, 15:12
 
This JAlbum Tool will rename files in the current folder according to a specified template.
It is a bit smarter than the previous "Batch rename links" Tool. This one lets you decide if you wish to only rename links and if you wish to rename folders too.

This Tool will be included with Jalbum 8.
JeanPierre

Posts: 25
Registered: 10-Oct-2006
Re: Batch rename files
Posted: 12 Jun 08, 12:47   in response to: davidekholm in response to: davidekholm
 
Is there a manual or help for this tool?
JP
davidekholm

Posts: 3,808
Registered: 18-Oct-2002
Re: Batch rename files
Posted: 12 Jun 08, 14:49   in response to: JeanPierre in response to: JeanPierre
 
JeanPierre

Posts: 25
Registered: 10-Oct-2006
Re: Batch rename files
Posted: 13 Jun 08, 16:42   in response to: davidekholm in response to: davidekholm
 
davidekholm wrote:
I take it you must refer to the format syntax:
http://java.sun.com/j2se/1.5.0/docs/api/java/util/Formatter.html#syntax
Thank you. Not really frienly, some simple examples would help. I will stay with Bulk Rename Utility.
JP
davidekholm

Posts: 3,808
Registered: 18-Oct-2002
Re: Batch rename files
Posted: 17 Jun 08, 16:30   in response to: JeanPierre in response to: JeanPierre
 
Not friendly, but flexible :-)

Tell me what format you need. Writing %04d means generate numbers in the format 0001 - 9999 (four digits with leading zero). Just writing %4d will give numbers like 1 - 9999
JeanPierre

Posts: 25
Registered: 10-Oct-2006
Re: Batch rename files
Posted: 18 Jun 08, 02:52   in response to: davidekholm in response to: davidekholm
 
davidekholm wrote:
Not friendly, but flexible :-)

Tell me what format you need. Writing %04d means generate numbers in the format 0001 - 9999 (four digits with leading zero). Just writing %4d will give numbers like 1 - 9999


This example is helpful. Just some examples allow one to understand better how to use the tool.
I have not understood how to choose the part I want to change, for example if I want to change:
"06/22/08 8:30PM P12345" by "20080622 20:30_Maracaibo" what I have to write in the tool?
JP
davidekholm

Posts: 3,808
Registered: 18-Oct-2002
Re: Batch rename files
Posted: 18 Jun 08, 23:18   in response to: JeanPierre in response to: JeanPierre
 
The batch rename tool is not that flexible, but the source is available so perhaps someone can take on the challenge of tweaking this.
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums