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

Adding Suffix #26

Closed
drwpcom opened this issue Jul 11, 2017 · 2 comments
Closed

Adding Suffix #26

drwpcom opened this issue Jul 11, 2017 · 2 comments
Labels

Comments

@drwpcom
Copy link

drwpcom commented Jul 11, 2017

I'm trying to use Renamer to add a 16-17 suffix to all files and folders, recursively as the files go several levels deep.

$ renamer --regex --find '([^.]+)\.(.*?)' --replace '$1 16-17.$2' '**'

seems to work for files, but I haven't been able to come up with a solution for folders that doesn't also affect files, after the extension.

Suggestions/advice would be greatly appreciated.

@75lb
Copy link
Owner

75lb commented Jul 11, 2017

so you want a way to rename only folders and not files?

@75lb 75lb added the question label Jul 11, 2017
@drwpcom
Copy link
Author

drwpcom commented Jul 12, 2017

I would like to add the suffix to both the file names and the folder names.

@75lb 75lb closed this as completed Jan 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants