Git Product home page Git Product logo

Comments (3)

novoid avatar novoid commented on June 1, 2024 2

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.

novoid avatar novoid commented on June 1, 2024

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.

dimitrisA avatar dimitrisA commented on June 1, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.