zwimer / delayed_rm

Ever wish you had a few minutes to undo an rm? Now you do!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

delayed_rm

Ever wish you had a few minutes to undo an rm? Now you do!

Usage

A small replacement for rm. Passing --delay allows users to specify the delay. Passing --log will print log information

Examples

With alias rm = delayed_rm:

  1. rm foo bar
  2. rm -rf dir1 dir2
  3. rm --delay 3600 baz
  4. rm --log

About

Ever wish you had a few minutes to undo an rm? Now you do!

License:GNU General Public License v3.0


Languages

Language:Python 100.0%