NameDate

Submit command line tools that you find here.
Post Reply
Message
Author
billon
Posts: 752
Joined: Sat Jun 23, 2012 4:28 pm

NameDate

#1 Post by billon » Mon Jul 13, 2020 9:13 pm

https://informatics-consulting.ch/softw ... m#Overview
NameDate will change the name of a given file to include the date. For example, a file name somefile.ext will be renamed to somefile 31-Oct-2016.ext when namedate somefile.ext is run.

NameDate offers a whole range of options to configure how the resulting file name should be formatted, define where the file should be located (you can move the files while renaming them), add a counter or several other features.

NameDate is free software and comes with full source code.
Image

User avatar
webfork
Posts: 9250
Joined: Wed Apr 11, 2007 8:06 pm
Location: US, Texas
Contact:

Re: NameDate

#2 Post by webfork » Fri Jul 17, 2020 8:17 pm

So this may show some of my inexperience on the command-line, but I feel like this tool is in serious need of some example codes and outputs. I couldn't figure out how to do a rename that just lists filename-Month-Day-Year.ext Does anyone have any idea?

---

Meantime, here's another one I came up with from AntRenamer on the dates front:

Setup some kind of rename with a date change saved

1. Open program, add a file to rename, and choose Actions - Use Date & Time
2. Modify the mask as needed
3. Press the Add Selected Action button
4. Press Save

Image

When prompted, you can save as "add dates.arb" to work with the batch file process below to rename files in an "input" directory in the same folder:

"C:\Temp\PortableApps\AntRenamerPortable\AntRenamerPortable.exe" -b "add dates.arb" -af ".\input\*.*" -g -x

To be clear, the program billon mentioned is clearly faster and more flexible, I'm just having trouble with it.

Post Reply