How to get back deleted files in solaris

Solaris 5.10, i have accidently removed a directory which has some scripts of mine using rm -rf, how can i get them back ?,,, thanks
Dba_Oracledb2Asked:
Who is Participating?
 
jgiordanoConnect With a Mentor Commented:
there is,  it is called the -f. you explicitly "emptied the recycling bin" so to speak
0
 
jgiordanoCommented:
From your backup, there is no undo or recycling bin
0
 
Dba_Oracledb2Author Commented:
this is basic feature, i wonder why they did not include in solaris OS
0
 
Dba_Oracledb2Author Commented:
then how can i delete directory with out using -f, and make it recoverable....
0
 
jgiordanoConnect With a Mentor Commented:
there is no way of recovering unless there are snapshots enabled and/or backups enabled. If you don't there is no way to recover, I am sorry. The -r mean recursive the -f means force. You don't need the -f to delete a directory if it is empty. The premise is to know your files and what you are deleting.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.