From: Red on
Running SL 10.6.2 and want to secure delete just a single file WITHOUT
using the Secure Empty Trash feature. Also, the file to be deleted in on
an encrypted disk image-- and I can't delete the entire disk image.

Suggestions?
From: nospam on
In article <hhdkoh$afg$1(a)news.albasani.net>, Red <red(a)neckspam.com>
wrote:

> Running SL 10.6.2 and want to secure delete just a single file WITHOUT
> using the Secure Empty Trash feature. Also, the file to be deleted in on
> an encrypted disk image-- and I can't delete the entire disk image.

why do you care if a file on an encrypted image is securely deleted or
not? the bits on the disk are already encrypted.

in any event, man srm should tell you what you need to know.
From: Fred Moore on
In article <hhdkoh$afg$1(a)news.albasani.net>, Red <red(a)neckspam.com>
wrote:

> Running SL 10.6.2 and want to secure delete just a single file WITHOUT
> using the Secure Empty Trash feature. Also, the file to be deleted in on
> an encrypted disk image-- and I can't delete the entire disk image.
>
> Suggestions?

From the terminal, the rm [remove] command should work if you use the -P
option which overwrites the file 3 times before deleting. You might want
to use the -v [verbose] option with it to make sure it happens. See man
rm.
From: VAXman- on
In article <fmoore-6FFE7A.17143229122009(a)news.eternal-september.org>, Fred Moore <fmoore(a)gcfn.org> writes:
>In article <hhdkoh$afg$1(a)news.albasani.net>, Red <red(a)neckspam.com>
>wrote:
>
>> Running SL 10.6.2 and want to secure delete just a single file WITHOUT
>> using the Secure Empty Trash feature. Also, the file to be deleted in on
>> an encrypted disk image-- and I can't delete the entire disk image.
>>
>> Suggestions?
>
>From the terminal, the rm [remove] command should work if you use the -P
>option which overwrites the file 3 times before deleting. You might want
>to use the -v [verbose] option with it to make sure it happens. See man
>rm.

Original poster wants to *securely* delete the file. 'rm' won't do that.
The command to securely remove a file is 'srm'. srm -v filename will show
the progress of the secure passes on the file.


--
VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)ORG

http://www.quirkfactory.com/popart/asskey/eqn2.png

"Well my son, life is like a beanstalk, isn't it?"
From: Red on
Michelle Steiner wrote:
> In article <hhdkoh$afg$1(a)news.albasani.net>, Red <red(a)neckspam.com> wrote:
>
>> Running SL 10.6.2 and want to secure delete just a single file WITHOUT
>> using the Secure Empty Trash feature
>
> Why don't you want to use that feature?
>

1. Might want some of the other files back.
2. Many files in trash take too long to secure delete,