https://github.com/zwimer/delayed_rm
Ever wish you had a few minutes to undo an rm? Now you do!
https://github.com/zwimer/delayed_rm
Last synced: 10 months ago
JSON representation
Ever wish you had a few minutes to undo an rm? Now you do!
- Host: GitHub
- URL: https://github.com/zwimer/delayed_rm
- Owner: zwimer
- License: gpl-3.0
- Created: 2020-01-15T05:12:11.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-06-12T17:03:59.000Z (about 1 year ago)
- Last Synced: 2025-07-17T14:24:08.144Z (11 months ago)
- Language: Python
- Size: 50.8 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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`
1. `rm -rf dir1 dir2`
1. `rm --delay 3600 baz`
1. `rm --log`