Working of trashcan utility in tru64 Unix server.. or any other utility??

Posted by RBA on Server Fault See other posts from Server Fault or by RBA
Published on 2010-03-29T07:42:31Z Indexed on 2010/03/29 7:53 UTC
Read the original article Hit count: 463

Filed under:
|
|

Hi,

I used this mktrashcan command mktrashcan deleteMe1 trashcan/

And then i Deleted all the contents inside deleteMe1 directory(rm -rf*).. But then what happend is only the two text files which are inside the deleteMe1(deleteMe2.txt, deleteMe3.txt) directory were moved into the trashcan folder.. Rest of the directories and files inside the directories were not foundd!!

Isn't there any other way, so that whatever is deleted, moves exactly the same way to the trashcan directory??? Or is there Any Other Utility that can perform the same task but in advance way..

mkdir deleteMe1
mkdir deleteMe1/deleteMe2
mkdir deleteMe1/deleteMe3

touch ./deleteMe1/deleteMe2/deleteMe4.txt
touch ./deleteMe1/deleteMe2/deleteMe5.txt
touch ./deleteMe1/deleteMe3/deleteMe6.txt
touch ./deleteMe1/deleteMe3/deleteMe7.txt
touch ./deleteMe1/deleteMe2.txt
touch ./deleteMe1/deleteMe3.txt

Thankss..

© Server Fault or respective owner

Related posts about tru64

Related posts about unix