Comments (3)
I added the CLI parameter --delimiter
where you can define any arbitrary string as delimiter. And I added some clarification of this hidden feature in the help screen.
Please notice that date2name might not be able to recognize this as a delimiter character if it does not start with space, minus or underscore.
In a shell, you can define something like alias date2name="date2name --delimiter=\"_\""
in order to get your underscore as the default delimiter.
HTH
from date2name.
I totally understand your irritation and I do have to apologize for that.
My personal preference is implemented in the code: if there is a space in the file name already, use a space as a separator character. If not, use an underscore character as a separator.
I was hoping that this is somehow a good idea for the general case. Do you think I should remove this "semi-intelligent" guess and add an additional command line option to choose the separator character?
from date2name.
No frustration :) I think it's a useful little software. Currently, I tend to end up with mixed underscores and white space after the date. Sometimes I use append file name or tags first, so I end up with no underscore.
I don't consider it a big deal, though. I also haven't decided if I like underscores or space better. But if it's no trouble, sure, add an option.
from date2name.
Related Issues (12)
- Installation HOT 4
- Extract EXIF time-stamp from JPEG image header HOT 2
- --ctime uses current date on macOS HOT 6
- Write unit tests
- organize HOT 11
- Rename based on EXIF creation date HOT 2
- -c [creation date] using current date HOT 8
- note error retracting time stamp --withtime HOT 3
- Feature Request: Inherent Tags HOT 2
- update on pypi, README.org is not well supported HOT 4
- pip install does no longer install the script HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from date2name.