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
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
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
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
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]
-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
-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
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 :)
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
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
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 :
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
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]
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
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?
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
-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
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
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
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
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
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
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
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
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:
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
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
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
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:
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
30 matches
Mail list logo