Re: [opensuse] Undoing a delete

2007-11-29 Thread Carl Spitzer
On Sat, 2007-11-17 at 16:40 -0600, Bryen wrote: Is there any way to undo an rm in terminal? Probably not, but thought I'd ask... -- ---Bryen--- #!/bin/sh # #MoveWithPWD #You must translate the slash or the move will fail. # MyPWD=`echo $PWD | tr '/' '-'` #echo $MyPWD # #In the for loop

Re: [opensuse] Undoing a delete

2007-11-29 Thread Carl Spitzer
On Sat, 2007-11-17 at 18:51 -0500, Patrick Shanahan wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * Bryen [EMAIL PROTECTED] [11-17-07 18:44]: You'd think, since I googled and see enough people have done this same thing accidentally, that a trashcan folder would be standard. Oh

Re: [opensuse] Undoing a delete

2007-11-29 Thread Carl Spitzer
On Sat, 2007-11-17 at 15:53 -0800, Randall R Schulz wrote: On Saturday 17 November 2007 15:41, Bryen wrote: On Sat, 2007-11-17 at 15:30 -0800, Randall R Schulz wrote: ... I've known users (dare I say, lusers) to override rm with a script that moves the target files to a trashcan

Re: [opensuse] Undoing a delete

2007-11-19 Thread Hans van der Merwe
On Sat, 2007-11-17 at 16:40 -0600, Bryen wrote: Is there any way to undo an rm in terminal? Probably not, but thought I'd ask... -- ---Bryen--- Depending on what you want to recover the following worked for me - to recover images I deleted from a USB flashdisk (will do other file

Re: [opensuse] Undoing a delete

2007-11-18 Thread Catimimi
Aaron Kulkis a écrit : Bryen wrote: Is there any way to undo an rm in terminal? Have a look here : http://www.diskdoctors.net/linux-data-recovery/software.html Good luck. Michel -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [opensuse] Undoing a delete

2007-11-18 Thread Josef Assad
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aaron Kulkis wrote: Bryen wrote: I did a find . -name -exec rm \{\}\; Just curious; what use cases are there for calling find with -name without a pattern for -name? I *SHOULD have done find /tmp -name rm \{\} \; This one too; looks to me

Re: [opensuse] Undoing a delete

2007-11-18 Thread Josef Assad
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stephan Hegel wrote: Patrick Shanahan wrote: * Bryen [EMAIL PROTECTED] [11-17-07 18:44]: a deterrent, alias rm='/bin/rm -i' I remember another approach: http://pages.stern.nyu.edu/~marriaga/software/libtrash Basically it intercepts syscalls

Re: [opensuse] Undoing a delete

2007-11-18 Thread Bryen
On Sun, 2007-11-18 at 13:11 +0200, Josef Assad wrote: In any case, when you use libtrash you'll still have to empty the trash periodically, and then someone will empty trash containing a file they wanted and the thread topic will be undoing a libtrash delete rather than Undoing a delete :)

Re: [opensuse] Undoing a delete

2007-11-18 Thread Carlos F Lange
On Sun November 18 2007 01:01, Catimimi wrote: Aaron Kulkis a écrit : Bryen wrote: Is there any way to undo an rm in terminal? Have a look here : http://www.diskdoctors.net/linux-data-recovery/software.html Is the world backwards? This is a Win32 product! Do they want me to go and find a

Re: [opensuse] Undoing a delete

2007-11-18 Thread Carlos F Lange
On Sun November 18 2007 11:25, Catimimi wrote: Carlos F Lange a écrit : On Sun November 18 2007 01:01, Catimimi wrote: Aaron Kulkis a écrit : Bryen wrote: Is there any way to undo an rm in terminal? Have a look here : http://www.diskdoctors.net/linux-data-recovery/software.html Is

Re: [opensuse] Undoing a delete

2007-11-18 Thread Bryen
On Sun, 2007-11-18 at 11:35 -0700, Carlos F Lange wrote: On Sun November 18 2007 11:25, Catimimi wrote: Carlos F Lange a écrit : On Sun November 18 2007 01:01, Catimimi wrote: Aaron Kulkis a écrit : Bryen wrote: Is there any way to undo an rm in terminal? Have a look here :

Re: [opensuse] Undoing a delete

2007-11-18 Thread Aaron Kulkis
Josef Assad wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Aaron Kulkis wrote: Bryen wrote: I did a find . -name -exec rm \{\}\; Just curious; what use cases are there for calling find with -name without a pattern for -name? ooops. that should have been find . -print -exec rm

[opensuse] Undoing a delete

2007-11-17 Thread Bryen
Is there any way to undo an rm in terminal? Probably not, but thought I'd ask... -- ---Bryen--- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [opensuse] Undoing a delete

2007-11-17 Thread Theo v. Werkhoven
Sat, 17 Nov 2007, by [EMAIL PROTECTED]: Is there any way to undo an rm in terminal? Probably not, but thought I'd ask... A backup comes to mind.. What filesystem, did you google? http://e2undel.sourceforge.net/recovery-howto.html Theo -- Theo v. WerkhovenRegistered Linux user# 99872

Re: [opensuse] Undoing a delete

2007-11-17 Thread Bryen
On Sat, 2007-11-17 at 23:59 +0100, Theo v. Werkhoven wrote: Sat, 17 Nov 2007, by [EMAIL PROTECTED]: Is there any way to undo an rm in terminal? Probably not, but thought I'd ask... A backup comes to mind.. What filesystem, did you google?

Re: [opensuse] Undoing a delete

2007-11-17 Thread Bryen
On Sat, 2007-11-17 at 15:30 -0800, Randall R Schulz wrote: On Saturday 17 November 2007 14:40, Bryen wrote: Is there any way to undo an rm in terminal? Probably not, but thought I'd ask... The short answer is no. There's no trashcan or wastebin involved. Only with tremendous luck and

Re: [opensuse] Undoing a delete

2007-11-17 Thread Patrick Shanahan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * Bryen [EMAIL PROTECTED] [11-17-07 18:44]: You'd think, since I googled and see enough people have done this same thing accidentally, that a trashcan folder would be standard. Oh well... there is and it is, but that is a graphical thing and

Re: [opensuse] Undoing a delete

2007-11-17 Thread Randall R Schulz
On Saturday 17 November 2007 14:40, Bryen wrote: Is there any way to undo an rm in terminal? Probably not, but thought I'd ask... The short answer is no. There's no trashcan or wastebin involved. Only with tremendous luck and heroic effort could you hope to recover the contents of the file

Re: [opensuse] Undoing a delete

2007-11-17 Thread Randall R Schulz
On Saturday 17 November 2007 15:41, Bryen wrote: On Sat, 2007-11-17 at 15:30 -0800, Randall R Schulz wrote: ... I've known users (dare I say, lusers) to override rm with a script that moves the target files to a trashcan folder. Hmm... That would be an interesting project to try to

Re: [opensuse] Undoing a delete

2007-11-17 Thread Paul Hands
There is a remote possibility if you haven't rebooted or done anything dramatic since the delete. http://www.linux.com/articles/58142 Paul Bryen wrote: On Sat, 2007-11-17 at 15:30 -0800, Randall R Schulz wrote: On Saturday 17 November 2007 14:40, Bryen wrote: Is there any way to

Re: [opensuse] Undoing a delete

2007-11-17 Thread Bryen
On Sat, 2007-11-17 at 18:51 -0500, Patrick Shanahan wrote: * Bryen [EMAIL PROTECTED] [11-17-07 18:44]: You'd think, since I googled and see enough people have done this same thing accidentally, that a trashcan folder would be standard. Oh well... there is and it is, but that is a

Re: [opensuse] Undoing a delete

2007-11-17 Thread Carlos F Lange
On Sat November 17 2007 15:40, Bryen wrote: Is there any way to undo an rm in terminal? Probably not, but thought I'd ask... Googling for undelete ext3 showed this recent link, which might lead you somewhere: http://kerneltrap.org/node/14493 -- Carlos FL Who is General Failure, and why is

Re: [opensuse] Undoing a delete

2007-11-17 Thread Bryen
On Sat, 2007-11-17 at 15:53 -0800, Randall R Schulz wrote: On Saturday 17 November 2007 15:41, Bryen wrote: On Sat, 2007-11-17 at 15:30 -0800, Randall R Schulz wrote: ... I've known users (dare I say, lusers) to override rm with a script that moves the target files to a trashcan

Re: [opensuse] Undoing a delete

2007-11-17 Thread Randall R Schulz
On Saturday 17 November 2007 16:24, Bryen wrote: On Sat, 2007-11-17 at 15:53 -0800, Randall R Schulz wrote: On Saturday 17 November 2007 15:41, Bryen wrote: On Sat, 2007-11-17 at 15:30 -0800, Randall R Schulz wrote: ... I've known users (dare I say, lusers) to override rm with a

Re: [opensuse] Undoing a delete

2007-11-17 Thread Bryen
On Sat, 2007-11-17 at 17:18 -0700, Carlos F Lange wrote: On Sat November 17 2007 15:40, Bryen wrote: Is there any way to undo an rm in terminal? Probably not, but thought I'd ask... Googling for undelete ext3 showed this recent link, which might lead you somewhere:

Re: [opensuse] Undoing a delete

2007-11-17 Thread Bryen
On Sat, 2007-11-17 at 16:32 -0800, Randall R Schulz wrote: Critique me here. As I'm going by theory. I would move the current /bin/rm to a new location. Whoa! No, no no. Never do that!! No, just create a directory ~/bin (equally, $HOME/bin) and put your personal scripts there. Make

Re: [opensuse] Undoing a delete

2007-11-17 Thread Cristian Rodríguez
Bryen escribió: Is there any way to undo an rm in terminal? Probably not, but thought I'd ask... In short: no. http://www.faqs.org/docs/artu/ch20s03.html#id3015838 In large: yes, but you need a good chunk of knowledge, luck, and sometimes some really very expensive hardware. They only

Re: [opensuse] Undoing a delete

2007-11-17 Thread Stephan Hegel
Patrick Shanahan wrote: * Bryen [EMAIL PROTECTED] [11-17-07 18:44]: You'd think, since I googled and see enough people have done this same thing accidentally, that a trashcan folder would be standard. Oh well... there is and it is, but that is a graphical thing and *can* be bypassed, but

Re: [opensuse] Undoing a delete

2007-11-17 Thread Aaron Kulkis
Bryen wrote: On Sat, 2007-11-17 at 17:18 -0700, Carlos F Lange wrote: On Sat November 17 2007 15:40, Bryen wrote: Is there any way to undo an rm in terminal? Probably not, but thought I'd ask... Googling for undelete ext3 showed this recent link, which might lead you somewhere:

Re: [opensuse] Undoing a delete

2007-11-17 Thread Aaron Kulkis
Bryen wrote: Is there any way to undo an rm in terminal? No. Unless you want to spend a lot of money. Probably not, but thought I'd ask... Of course, in the 24 years since I started using Unix, there have been exactly 2 times when I rm'ed files which I didn't want to. The first time was