You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ironically, after finishing implementing my own and 2 days after creating this issue, I found already existing project that has all the features I wanted, including such protection.
I'll leave the link here for anyone who comes from the search.
Docs:
...
Use the --force flag to overwrite existing files that aren't part
of a renaming cycle. (Existing directories are never overwritten.
If you attempt to overwrite a directory the program will exit with
an error message and a non-zero status code.)
...
How to reproduce
I think expected behavior here is for mmv to abort rename to prevent unintended data loss, or e.g.
-f
flag if overwrite is truly expected and desired.The text was updated successfully, but these errors were encountered: