Go4Expert (http://www.go4expert.com/)
-   Unix (http://www.go4expert.com/forums/unix-forum/)
-   -   Handle deleted files (http://www.go4expert.com/forums/handle-deleted-files-t1586/)

swetha 10Oct2006 18:27

Handle deleted files
Hi All,

I would like to know how to write a script file in linux which does the following.
whenever a file is deleted, it should be placed in a temporary folder so that we can recover it later as and when required.

The script file can contain alias for rm command as mv command. whenever rm command is issued it should do the mv command.

Actually, i am not getting the complete syntax to write this alias for this.


shabbir 11Oct2006 12:00

Re: Handle deleted files
See if How to get deleted files in Linux helps you.

All times are GMT +5.5. The time now is 09:02.