Recovering deleted files using grep
spin.atomicobject.com
Recovering deleted files using grep
1–10 of 48 posts
Re: Recovering deleted files using grep
#2Re: Recovering deleted files using grep
#3Re: Recovering deleted files using grep
#4Re: Recovering deleted files using grep
#5Make sure your output file is on a different filesystem! Otherwise, it might be saved in the newly-freed blocks of the file you're trying to recover.
Re: Recovering deleted files using grep
#6Make sure your output file is on a different filesystem! Otherwise, it might be saved in the newly-freed blocks of the file you're trying to recover.
Still, it raises two questions:
What about fragmentation?
Why don't have a GNU safe-rm yet that moves files to the (freedesktop.org specified) trash location to avoid this?
Re: Recovering deleted files using grep
#7 cat /dev/mem | strings | grep -i llamaRe: Recovering deleted files using grep
#8cat /dev/mem | strings | grep -i llama
Re: Recovering deleted files using grep
#9Make sure your output file is on a different filesystem! Otherwise, it might be saved in the newly-freed blocks of the file you're trying to recover.
The author's intent is to write enough of the surrounding context that you recover it first time. Still, it raises two questions: What about fragmentation? Why don't have a GNU safe-rm yet that moves files to the (freedesktop.org specified) trash location to avoid this?
File managers already implement a trash function as per the freedesktop.org spec: http://www.ramendik.ru/docs/trashspec.html
Re: Recovering deleted files using grep
#10Make sure your output file is on a different filesystem! Otherwise, it might be saved in the newly-freed blocks of the file you're trying to recover.
The author's intent is to write enough of the surrounding context that you recover it first time. Still, it raises two questions: What about fragmentation? Why don't have a GNU safe-rm yet that moves files to the (freedesktop.org specified) trash location to avoid this?
Assuming you have backups, of course. Which you'd be insane not to.