Open YenForYang opened 5 years ago
Great idea!
I like the idea of the dialog box - "Delete? Yes, Yes and Don't Ask Again, No"
Would you like to work on this?
About 2-3 weeks from now I might have chance to work on this (currently working on a couple projects in C++ -- if I knew Go as well as I know C++, I'd probably be able squeeze it in sooner).
I'm very much hoping someone else more familiar with Go can pick it up before then, as I'm not exactly sure how the rclone ncdu
command works (i.e. not sure how to add this functionality).
I, on the other hand, would like to request a --readonly
flag so that I can't accidentally delete and only use ncdu for figuring out remote data usage for services like Drive that don't show folder sizes.
I just accidentally pressed "d" on a top-level backup archive and almost had a heart attack. Thankfully, there's an "are you sure?" confirmation, but I'd rather eliminate any chance of a deletion.
Maybe we don't need 2 flags - maybe it can be a single flag with 3 values.
I, on the other hand, would like to request a
--readonly
flag so that I can't accidentally delete and only use ncdu for figuring out remote data usage for services like Drive that don't show folder sizes.I just accidentally pressed "d" on a top-level backup archive and almost had a heart attack. Thankfully, there's an "are you sure?" confirmation, but I'd rather eliminate any chance of a deletion.
There is a precedence for this in ncdu
-r Read-only mode. This will disable the built-in file deletion
feature. This option has no effect when "-o" is used, because there
will not be a browser interface in that case. It has no effect when
"-f" is used, either, because the deletion feature is disabled in
that case anyway.
Maybe we don't need 2 flags - maybe it can be a single flag with 3 values.
I like the idea of retaining ncdu compatibility where we can.
Oh, in that case, I welcome -r
in a future release.
I can work on adding the read only mode.
I can work on adding the read only mode.
That would be great :-)
I can work on adding the read only mode.
was this ever implemented? If not, should there be a separate issue for this feature request?
It isn't in the current code - I don't know whether @gary-kim has a branch for the feature?
I don't think I finished it
What is your current rclone version (output from
rclone version
)?Latest beta and/or 1.48.0
What problem are you are trying to solve?
Get that last piece of functionality to match Yorhel's
ncdu
-- the don't ask again when deleting a file or folder.How do you think rclone should be changed to solve that?
Simply by adding the option to the rclone ncdu GUI.
I've found rclone ncdu to be an excellent portable replacement for Yorhel's
ncdu
on windows. The problem is that it's a pain to delete multiple files with the confirmation popping up every time. Perhaps the--auto-confirm
flag could be used to disable the prompt; or maybe just add a the option to the dialog box to not ask again.