Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # MM: don't delete files, move them to /tmp and let a reboot delete them. Use
- # rrm to do the actual remove.
- do_rm ()
- {
- DELDIR='/tmp/deleted_files'
- [ -d $DELDIR ] || mkdir -p $DELDIR
- mv $@ $DELDIR
- }
- alias rm='do_rm'
- alias rrm='/bin/rm'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement