I have several files' names starting with "._". I'd like to remove the point and underscore in a script. Howto do this?
Thank you very much in advance.
I have several files' names starting with "._". I'd like to remove the point and underscore in a script. Howto do this?
Thank you very much in advance.
This is a dry-run (simulates the command, doesn't execute it):
If you like the output, execute it:
using
rename
:example:
Your question can be interpreted in two ways, "renaming" and "get the filename with ._ removed". For rename, see the other questions. For the second possibility, use variable expansion: