classifier
classifier copied to clipboard
Undo feature request
It feels like there should be an undo command, in case someone runs classifier in the wrong directory, or even for making testing it out easier. Essentially to avoid the permanence of the classifying, which may be unwanted.
That could be done by keeping a copy of the directory tree before any changes are made, so the undo command puts it all back to place, or actually keeping a copy of the dirnames (folder names) that classifier created, which then the undo command would empty back out to the root folder.
Are there any difficulties in this that I'm missing?
That's a good idea. I think I can tackle this one around Sunday unless someone else wants to go for it.
We should use git to save the previous directory so we don't end up copying enormous folders.