Date
I need to rename some files incrementing the day on a date by one for each file.
For example I have following files:
01.jpg
02.jpg
03.jpg
and I need to have them as follows :
20210510,01.jpg
20210511,02.jpg
20210512,03.jpg
Other thing
I have a file like this :
Ladri di biciclette ,Vittorio ,De Sica ,1949,,.avi
And I need to have it renamed as follows :
1948,Ladri di bicilette ,Vittorio ,De Sica ,1948,,.avi
Please how can I rename them?
Thanks and bye till later,
Renato
For example I have following files:
01.jpg
02.jpg
03.jpg
and I need to have them as follows :
20210510,01.jpg
20210511,02.jpg
20210512,03.jpg
Other thing
I have a file like this :
Ladri di biciclette ,Vittorio ,De Sica ,1949,,.avi
And I need to have it renamed as follows :
1948,Ladri di bicilette ,Vittorio ,De Sica ,1948,,.avi
Please how can I rename them?
Thanks and bye till later,
Renato
1) Use Add method...
Add: <Inc Nr:20210510>,
At index: 0
2) Use Renumber followed by Replace methods...
Renumber...
Number position: 1
Change to: Relative to existing number: -1
Replace:
(.*,)(\d{4})
With: \2,\1\2
Use regular expressions
Add: <Inc Nr:20210510>,
At index: 0
2) Use Renumber followed by Replace methods...
Renumber...
Number position: 1
Change to: Relative to existing number: -1
Replace:
(.*,)(\d{4})
With: \2,\1\2
Use regular expressions
Reply to #1:
Many thanks!
Please what do you suggest I learn in order to write some codes
Java or Javascript?
As far as I may know Javascxript is mainly used for the web or am I wrong?
Thanks a lot and bye till later,
Renato
Many thanks!
Please what do you suggest I learn in order to write some codes
Java or Javascript?
As far as I may know Javascxript is mainly used for the web or am I wrong?
Thanks a lot and bye till later,
Renato
Reply to #3:
I'm not very experienced with scripting languages - in the past I have mainly used Visual Basic for Applications (VBA) within Microsoft Excel. However I have learned a lot about JavaScript from using Advanced Renamer - in fact the reason that I answer so many queries on the Forum is as a learning exercise for JS and Regular Expressions!
As you say JavaScript was developed for the web - and is built in to web browsers. However there are some platform-based implementations such as node.js - which I have dabbled with since it is used for apps associated with the AudioMoth recording device. May be worth you having a look at that. An ex-colleague of mine used to swear by Tcl/Tk for some pretty high-powered work - but I don't have any personal experience.
Regarding JavaScript a good resource is www.w3schools.com (where you will also find an introduction to Python - which is used for scripting in the program QGIS).
I'm not very experienced with scripting languages - in the past I have mainly used Visual Basic for Applications (VBA) within Microsoft Excel. However I have learned a lot about JavaScript from using Advanced Renamer - in fact the reason that I answer so many queries on the Forum is as a learning exercise for JS and Regular Expressions!
As you say JavaScript was developed for the web - and is built in to web browsers. However there are some platform-based implementations such as node.js - which I have dabbled with since it is used for apps associated with the AudioMoth recording device. May be worth you having a look at that. An ex-colleague of mine used to swear by Tcl/Tk for some pretty high-powered work - but I don't have any personal experience.
Regarding JavaScript a good resource is www.w3schools.com (where you will also find an introduction to Python - which is used for scripting in the program QGIS).