Re: file recovery and format

2001-01-24 Thread hawk
> > Oh, well, that's one for the collective memory . . . and looking > > at the man page for strings doesn't provide any hint that there > > is a way to change what it considers a character. I suppose > > I should have written a script to get all 7 bit ascii characters . . . > Try the command "

Re: file recovery and format

2001-01-23 Thread Lars Gullik Bjønnes
"Garst R. Reese" <[EMAIL PROTECTED]> writes: | > "Stupid is as stupid does" | Well, I work with a lot of handicapped people (aren't we all?) and have | become very aware of how a small deficit in hand-eye coordination or | visual acuity can lead to disaster. Unix was not designed with these | pe

Re: file recovery and format

2001-01-23 Thread hawk
garst gabbed, > > | Neither idea addresses the simple fact that rm is plain stupid. lars lamented, > > "Stupid is as stupid does" > > Lgb > Well, I work with a lot of handicapped people (aren't we all?) and have > become very aware of how a small deficit in hand-eye coordination or > v

Re: file recovery and format

2001-01-23 Thread Garst R. Reese
"Lars Gullik Bjønnes" wrote: > > "Garst R. Reese" <[EMAIL PROTECTED]> writes: > > | John Weiss wrote: > | > > | > On Mon, Jan 22, 2001 at 04:46:03PM -0500, Lior Silberman wrote: > | > > > | > > You should alias rm to be 'rm -i'. This is possible on almost all shells. > | > > | > Wherever I can u

Re: file recovery and format

2001-01-23 Thread Kayvan A. Sylvan
On Tue, Jan 23, 2001 at 10:20:08AM +0100, Lars Gullik Bjønnes wrote: > Lior Silberman <[EMAIL PROTECTED]> writes: > > | > Under unix-like OS, the * is expanded by the shell, not by the rm command, > | > so the rm command never sees the *. You'd have to hack the shell, not the > | > rm command, a

Re: file recovery and format

2001-01-23 Thread Lars Gullik Bjønnes
"Garst R. Reese" <[EMAIL PROTECTED]> writes: | John Weiss wrote: | > | > On Mon, Jan 22, 2001 at 04:46:03PM -0500, Lior Silberman wrote: | > > | > > You should alias rm to be 'rm -i'. This is possible on almost all shells. | > | > Wherever I can use GNU-fileutils, I alias rm to 'rm -v'. This |

Re: file recovery and format

2001-01-23 Thread Lars Gullik Bjønnes
Lior Silberman <[EMAIL PROTECTED]> writes: | > Under unix-like OS, the * is expanded by the shell, not by the rm command, | > so the rm command never sees the *. You'd have to hack the shell, not the | > rm command, and the question becomes, how do you do that consistently? Do | > you specialca

Re: file recovery and format

2001-01-22 Thread Garst R. Reese
John Weiss wrote: > > On Mon, Jan 22, 2001 at 04:46:03PM -0500, Lior Silberman wrote: > > > > You should alias rm to be 'rm -i'. This is possible on almost all shells. > > Wherever I can use GNU-fileutils, I alias rm to 'rm -v'. This > prevents one from having to confirm every single delete, wh

Re: file recovery and format

2001-01-22 Thread John Weiss
On Mon, Jan 22, 2001 at 04:46:03PM -0500, Lior Silberman wrote: > > You should alias rm to be 'rm -i'. This is possible on almost all shells. Wherever I can use GNU-fileutils, I alias rm to 'rm -v'. This prevents one from having to confirm every single delete, while giving you feedback on what'

Re: file recovery and format

2001-01-22 Thread Lior Silberman
On Mon, 22 Jan 2001, Eric J. Schwertfeger wrote: > On Mon, 22 Jan 2001, Garst R. Reese wrote: > > > "Richard E. Hawkins" wrote: > > > > > > Several months ago, in one of those tragic typing accidents, I > > > inserted a space into "rm -r *~" on my laptop. I ceased using it > > Can't help you,

Re: file recovery and format

2001-01-22 Thread Eric J. Schwertfeger
On Mon, 22 Jan 2001, Garst R. Reese wrote: > "Richard E. Hawkins" wrote: > > > > Several months ago, in one of those tragic typing accidents, I > > inserted a space into "rm -r *~" on my laptop. I ceased using it > Can't help you, but this is an obvious stupidity in rm. > rm -r [asterisk] ~ mak

Re: file recovery and format

2001-01-22 Thread Garst R. Reese
"Richard E. Hawkins" wrote: > > Several months ago, in one of those tragic typing accidents, I > inserted a space into "rm -r *~" on my laptop. I ceased using it Can't help you, but this is an obvious stupidity in rm. rm -r [asterisk] ~ makes no sense. I think rm should be modified to strip blan

file recovery and format

2001-01-22 Thread Richard E. Hawkins
Several months ago, in one of those tragic typing accidents, I inserted a space into "rm -r *~" on my laptop. I ceased using it immediately, and eventually used dd and strings to strip the hard drive, hoping to recover a half-written paper. Nothing *should* have been written to the hard disk