Re: why no undelete?

blmblm_at_myrealbox.com
Date: 10/13/03


Date: 13 Oct 2003 09:21:44 GMT

In article <vokddhepeikr2b@corp.supernews.com>,
Paul Lutus <nospam@nosite.zzz> wrote:
>blmblm@myrealbox.com wrote:
>
>> In article <vnc3kqk9nuvfdb@corp.supernews.com>,
>> Paul Lutus <nospam@nosite.zzz> wrote:
>>>Nick wrote:
>>>
>>>> Now don't flame me, but feel free to point me to a good url:
>>>>
>>>> I understand how files are deleted and then recovered from fat16, fat32,
>>>> ntfs and NetWare file systems, but on traditional unix systems, why
>>>> can't files be recovered?
>>>
>>>They can, if you are using X Windows and have set up options correctly. If
>>>you are using a shell, simply rewrite the "rm" command so it moves files
>>>to a "trashcan" directory instead of deleting them.
>>
>> Of course, this has little to do with "X Windows" ("the X Window
>> System", for the pedantic) --
>
>Yes, AS I SAID ABOVE.
>
>> if you type "rm" in an xterm, as far
>> as I know it behaves the same as if you type it from, say, an "ssh"
>> session with no graphics capability.
>
>Yes, ASI I SAID ABOVE.

You contrast "using X Windows" and "using a shell". The two are not
mutually exclusive. I imagine you know this, but it sure doesn't
come across from what you wrote.

I can make some guesses about what you mean by "and have set up
options correctly" -- have chosen a desktop environment / window
manager that supports a graphical file manager that "deletes" files
by moving them to a trashcan directory? -- but again, it doesn't
come across from what you wrote.

>> If you meant "if you are using a graphical file manager", why not
>> say that?
>
>Because THAT WAS NOT MY POINT. Re-read the post. Note the shift in emphasis.

Oh? Then what was your point?

The point would appear to be that if you delete files with "rm",
they are gone forever, while there are other programs that allow
you to "delete" files in a way that really moves them to a trashcan
directory somewhere. Probably most of the other programs that
do that do ultimately require X, but it's not really a necessary
condition, is it? since there's at least one graphical file manager
(mc) that as far as I can tell does not require X. Whether it
removes files by sending them to a trashcan is another question,
but that's not really my point.

-- 
| B. L. Massingill
| ObDisclaimer:  I don't speak for my employers; they return the favor.
-- 
-- blm