Closed drwpcom closed 6 years ago
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.
so you want a way to rename only folders and not files?
I would like to add the suffix to both the file names and the folder names.
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.
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.