Page 1 of 1

Zero

Posted: Thu 07 Mar 2013, 16:40
by jpeps
This is a java app, so requires that java JRE is installed. zero.jar will run on any platform, and adjust to the path format of the computer it's run on.

Function: Overwrites all characters with zeros before deleting it. This prevents any possibility of retrieval.

Useage: Drag the unwanted file over desktop icon (/usr/local/bin/zero).
From console: zero [file]

Posted: Thu 07 Mar 2013, 17:19
by amigo
Bah! Why not just use tiny little shred?

Posted: Thu 07 Mar 2013, 17:28
by jpeps
amigo wrote:Bah! Why not just use tiny little shred?
Filesize is listed next to "Filesize:"

I'm sure there are many alternatives. My interest was in writing a multi-platform java utility. Note that it doesn't require overwriting data in place, so works on everything, including different path formats.
CAUTION: Note that shred relies on a very important assumption:
that the file system overwrites data in place. This is the traditional
way to do things, but many modern file system designs do not satisfy this
assumption. The following are examples of file systems on which shred is
not effective, or is not guaranteed to be effective in all file system modes:

* log-structured or journaled file systems, such as those supplied with
AIX and Solaris (and JFS, ReiserFS, XFS, Ext3, etc.)

* file systems that write redundant data and carry on even if some writes
fail, such as RAID-based file systems

* file systems that make snapshots, such as Network Appliance's NFS server

* file systems that cache in temporary locations, such as NFS
version 3 clients

* compressed file systems