Posted on Monday, December 24th (1503 days ago)
Web Developer’s Christmas Eve
Most normal people are spending time with their families, basking in the Holiday glory. I’ve tip-toed off to my desk, and am looking up how to force file overwrites with shell scripting. What’s wrong with me?
-i — interactive. Prompts you to confirm
the deletion. This option can stop you from deleting a file by mistake.
-f — force. Overrides interactive mode
and removes the file(s) without prompting. This might not be a good idea,
unless you know exactly what you are doing.
-v — verbose. Shows a list of files as they are being removed.
-r — recursive. Will delete a directory and all files and subdirectories
it contains.
