Comments (3)
Indeed that would be good to propose some alternatives. Overwriting would probably be what users would expect as this is how most posix tools work. However any overwrite or even renaming to something else shouldn't be automatic as that could cause a big mess if hundreds of files are involved.
Perhaps we should still display the current error message, but below ask the user what they want to do.
from massren.
Perhaps we should still display the current error message, but below ask the user what they want to do.
If we have a long list of files to be processed, always asking the user on each file can be tedious so I propose options, based on @dufferzafar suggestions.
A new config option like existing_files
(or file_conflicts
or existing_destination
) with the options
append (or copy or duplicate)
overwrite
skip
ask
I agree that it should still show the error/warning message on each file, so we could output massren's output to file (will this work? massren -v >> ~/massren_log.txt
) to keep track of the files that weren't renamed, if the skip
option is set.
from massren.
Hi. Is there any solution for this problem?
from massren.
Related Issues (20)
- -n and -v give very similar (read: the same) output HOT 2
- Freezes when no changes are made HOT 6
- Monitor text editor process ID and close massren if it's gone HOT 1
- Feature request: Option to merge directories upon name conflict rather than throwing an error HOT 2
- Cannot lowercase names HOT 2
- Submit to Homebrew official repository HOT 10
- ENHANCEMENT As a user I want (the option) to ignore file extensions so I don't have to create regex
- `include_header` is not removing header HOT 2
- Research recursive file naming #Help #Question HOT 4
- Review/fix file name punctuation (i.e. question mark ?) breaking output list order #Bug
- Option to disable the giant message every time I do a renaming operation. HOT 2
- support go modules for go 1.16 or brew will soon stop being able to build massren
- Support auto filename validation HOT 1
- Handle newlines in filenames
- Temporarily override the set editor?
- Is this project abandoned? HOT 3
- 👋 Newly windows user here :)
- `massren .` HOT 3
- Order of filenames is not respect to explorer HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from massren.