novoid / appendfilename

Intelligent appending text to file names, considering file extensions and file tags
GNU General Public License v3.0
50 stars 7 forks source link

Optionally removing words from file names #10

Open novoid opened 3 years ago

novoid commented 3 years ago

There are certain situations where I need to remove one or more words from selected file names.

One example is after added a set of words that contain a typo.

An implementation of this would also addresses #8

Constraints

This issue is a central spot to collect ideas on how to come up with a consistent concept to remove words. This has to work on one file as well as on a group of selected files. It has to work on file names that end with the same set of words as well as with sets of files that do have completely different file names.

Furthermore, there should be ways to deal with edge cases. A few examples:

Brainstorming

Contribute!

Please add your ideas here as well!

ghost commented 1 year ago

In my case I would like to have this feature. Sometimes I do not want to append text, I only want to replace the entire filename (maintaining the date or date-time). Is this possible right now, or is there any other way? I have found this tool https://github.com/ayoisaiah/f2 but right now I do not have much time to read the documentation. If you know about something to replace multiple files' filenames while maintaining date-times let me know.

novoid commented 1 year ago

I only want to replace the entire filename (maintaining the date or date-time). Is this possible right now, or is there any other way? I have found this tool https://github.com/ayoisaiah/f2 but right now I do not have much time to read the documentation. If you know about something to replace multiple files' filenames while maintaining date-times let me know.

For use-cases like that, I'm using vidir or the according dired version within Emacs. However, when you don't use vim nor Emacs, there are multiple ways of modifying multiple file names in one go. There's mmv as a CLI tool and UI file browsers like FreeCommander/TotalCommander do offer features in that direction as well.

ghost commented 1 year ago

Hi, thanks for the response. Finally I found a fast way of doing it. My filenames after taking photos with the camera are something like: ASC0001, ASC0010 ... The solution to renaming all of them with the same name is: