coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Wishing rmdir had a prompt


From: Kaz Kylheku (Coreutils)
Subject: Re: Wishing rmdir had a prompt
Date: Sun, 01 Sep 2019 21:50:39 -0700
User-agent: Roundcube Webmail/0.9.2

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]