undo
undo copied to clipboard
Support for Switches
support for switches such as mkdir -p, rmdir -p.
It should be possible for rmdir -p. But as for mkdir -p, I didn't think it was possible. The problem is: how do you know how many levels of dir to remove for a mkdir -p? But I gave it a little more thought after seeing this issue -- perhaps it can be done by querying creation time-stamp for the dirs.