This is a very simple delete and undelete for single files.


Make a directory trash in your home directory.
cd ; mkdir trash

deleted files are copied there.

delete filename deletes a file.
undelete filename gets it back.
empty_trash removes any files from the trash directory.
empty_trash will make it impossible to get any deleted files back,
only use it when you are sure you have no more need for the deleted files.

The trash will become bigger and bigger over time.
If you have plenty of disk space that is no problem.

Else empty it after your project is finished and backups have been made.
You WILL be making backups won't you ? won't you?

To install:
undelete_install
