On 2019-09-01 17:50, Leslie S Satenstein via GNU coreutils General
Discussion wrote:
rmdir -i
I don't see this in a fairly recent GNU Coreutils 8.28 installation.
Must be very new?
There is some justification for such a thing. Though it may seem that
accidental
deletion of empty directories is easy to restore by recreating them,
that does not
put the file system back in the pre-deleted state. The modification
timestamps of
parent directories are tweaked, and new empty directories come up with
their own
modification timestamps as well as different inode numbers, permissions,
group and user
ownerships and such. There is no substitute to not deleting something;
what comes close
is recovering it from a backup.