12-09-2010
Quote:
Originally Posted by
COKEDUDE
I accidentally deleted a very important directory today with this rm -r. What would be the recommended way to recover my directory?
First off, stop writing to your home folder, at all. Unmount it if you can. Every write could be overwriting files you want back.
What
is your filesystem, anyway?
Quote:
After a lot of googleing I have seen these choices. Could I get some recommendations please?
Testdisk
Photorec- Doesn't recover file name like I would like.
Is files with no names better than no files at all? I don't know a tool that can put back "rm -rf" like it never was, you
deleted them so take what you can get. Depending on file type, there may be metadata in the files that'd help name them anyway.
Quote:
I have encrypted home directory.
You'll need to decrypt it into a format that looks like a normal volume for nearly any tool to touch it.
Much the same idea as photorec, but more powerful, capable of extracting more kinds of files. Also sloooooooooooooooow.
Last edited by Corona688; 12-09-2010 at 03:15 AM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I noticed this in a search for more security tools...
It IS possible to "undelete" a file; I suppose recover would be a better term for it. I suppose we've all made the boo-boo (that we all hopefully learned from) of deleting a file, and finding that you do not have a backup. I wouldn't... (1 Reply)
Discussion started by: LivinFree
1 Replies
2. SCO
I am helping a company recover a system that is SCO OS 5.0.5 - they have their backup media, cd copies of SCO, but they do not have their license keys to install and SCO is being difficult in validating their license.
Does anyone have an install license key for 5.0.5 that they would be willing... (1 Reply)
Discussion started by: ggraham
1 Replies
3. Solaris
If you delete your lost & found directory, how do you get it back, just do a mkdir? (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies
4. Shell Programming and Scripting
Hiiii,
I have written a script which takes backup of some log files.
let say the backuplocation is ---
/abc/backuplocation
-rw-r--r-- 1 webmut2 spgroup 0 Jan 27 02:41 ansrpt23994.log
-rw-r--r-- 1 webmut2 spgroup 0 Jan 27 02:41 ansrpt3601.log
-rw-r--r-- 1... (2 Replies)
Discussion started by: namishtiwari
2 Replies
5. Solaris
Hi Guys,
I have an user's home directory set to /home/A
And A contains the following directories B & C
Is there some way in solaris by which i can prevent the directories B and C from getting deleted by the user but the contents of the directories B & C can be deleted ?
Also i have... (2 Replies)
Discussion started by: localhost
2 Replies
6. SCO
I've been working with SCO Unix for several years now but have never had to restore a system from a bare drive.
I have a bootable CD that contains what appears to be the correct files necessary to recover the boot and root filesystems.
I've got the BIOS setup such that the CD is the first... (12 Replies)
Discussion started by: teamhog
12 Replies
7. AIX
Hi,My system is not booting and at the startup it is getting struck.In HMC error code is coming as 0000, I know the reason of failing.I have few queries on recovery, please answer:1. I have mksysb of the system from which I can restore the system but problem is my few application mount point was a... (5 Replies)
Discussion started by: aixpank
5 Replies
8. Shell Programming and Scripting
I deleted one of the job from the cron tab. I want to get it back. How can i do this.
pplease suggest me..
thanks (1 Reply)
Discussion started by: pranabrana
1 Replies
9. Emergency UNIX and Linux Support
One of my directory code where i have stored all my scripts have disappeared . I have no idea on how it got deleted.Could someone pls help me to track-back on what would have happened? I left the office yesterday and today when i just logged in to work with the scripts I could not find the... (13 Replies)
Discussion started by: michaelrozar17
13 Replies
10. Solaris
Friends,
I have accidently, as root, created a directory gabsf under /home. Now I cannot delete this thing, I have tried rm and rmdir, as well as explicit path name, but it is really undeleteable. Here is what ls -l says.
# ls -l /home
total 6
drwxr-xr-x 2 dawood dawood 2 Sep 5... (3 Replies)
Discussion started by: gabam
3 Replies
LEARN ABOUT OSX
ppi::token::quotelike
PPI::Token::QuoteLike(3) User Contributed Perl Documentation PPI::Token::QuoteLike(3)
NAME
PPI::Token::QuoteLike - Quote-like operator abstract base class
INHERITANCE
PPI::Token::QuoteLike
isa PPI::Token
isa PPI::Element
DESCRIPTION
The "PPI::Token::QuoteLike" class is never instantiated, and simply provides a common abstract base class for the five quote-like operator
classes. In PPI, a "quote-like" is the set of quote-like things that exclude the string quotes and regular expressions.
The subclasses of "PPI::Token::QuoteLike" are:
qw{} - PPI::Token::QuoteLike::Words
`` - PPI::Token::QuoteLike::Backtick
qx{} - PPI::Token::QuoteLike::Command
qr// - PPI::Token::QuoteLike::Regexp
<FOO> - PPI::Token::QuoteLike::Readline
The names are hopefully obvious enough not to have to explain what each class is. See their pages for more details.
You may note that the backtick and command quote-like are treated separately, even though they do the same thing. This is intentional, as
the inherit from and are processed by two different parts of the PPI's quote engine.
SUPPORT
See the support section in the main module.
AUTHOR
Adam Kennedy <adamk@cpan.org>
COPYRIGHT
Copyright 2001 - 2011 Adam Kennedy.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
perl v5.16.2 2011-02-25 PPI::Token::QuoteLike(3)