I lost a couple hundred lines of a Vim plugin I wrote and continue back up every so often because I extracted a
tar file containing an older version. I decided not to use source control management when I wrote the plugin, since I only update it periodically.
tar ask before overwriting existing files by default? I'm guessing that there's some rationale behind why the default behavior is to overwrite files silently, since we usually want safety over speed and convenience. For example, we usually use
#ifdef NDEBUG, not
#ifdef DEBUG; similarly, I would expect
tar ask me before overwriting any files, and for it to have some flag which I can use to tell it to overwrite files without asking me. Also, how can make it so that
tar does ask me by default, without me having to give it any flags? I'm fine with using tools other than
tar, if they support this safer default behavior.
Thank you for your time!