FML: accidentally trashed everything

I think an interactive mode would be useful.
I think interactive = true it would serve as a good pair for the 'use_trash = false' flag in a config file.

Personal example, I run most of my mounts with use_trash = false because I tend to work with files differently on mounts than I do in the web interface. I use MacOS, so Finder will ask me "are you sure" before deleting anything. Anything that appears in trash, then, is something I worked with in the web interface.
Otherwise I would end up with 1,000s of files in the trash and it would be intractable.

With an interactive mode, working from the command line in rclone would become consistent with the behavior of working through the GUI. i.e. I could have it ask me to verify deletion

Especially for commands like purge that can act on a literally infinite number of files, this would be especially useful.

Paranoid example:
rclone purge mount:Photos_2020_01_01
but I meant
rclone purge mount:Photos_2020_01_10

Deleting through the finder, I have a chance to bail out. Deleting from the command line, I do not.
oops.

It would be easy enough to implement I think...

Are delete operations the only ones which would need confirmation?

Do you want to please make a new issue on github?

Submitted :slight_smile: Cheers!

1 Like