Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] support files with multiple dot separators in file name #24

Open
synapseradio opened this issue Sep 22, 2022 · 1 comment
Open
Assignees

Comments

@synapseradio
Copy link

Hi! Thank you for writing this library, it's really helpful.

Here's the story behind the request - in a project I'm working on, we have a naming convention where we have [name].[type].[ext].

For example, I'd like to be able to use this util for a file like logger-manager.service.ext, or logger-manager.request-interceptor.ext ( it's a little enterprise-y but it's what I'm working with )

It seems that the extension is currently detected as whatever comes after the first . - the current behavior of stdrename -c is causing this file to become loggerManagerService.ext.

it'd be nice to have dot separators considered separately from other characters. I know this case is a little non-standard, and I appreciate you putting this work up in the first place.

Would be happy to discuss further!

@Gadiguibou
Copy link
Owner

Hi @synapseradio! I'm glad you find stdrename useful. :) I can't guarantee a timeline for this, but it sounds easy enough to implement. Should fragments between the first and the last dot be renamed as well or should they be treated as part of the extension?

@Gadiguibou Gadiguibou self-assigned this Sep 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants