Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!

Close
srm - securely wipe files
--------------------------
srm is a utility to overwrite files with random data in one or more passes.


Dependencies
------------
None.


Compatibility
-------------
srm has been tested on the following operating systems:
    * OpenBSD (5.1-snap)
    * OS X (10.8)
    * Linux (Debian 6.0)


Installation
------------
make build install


Usage
-----
srm [-v] [-n number] file list

options:
        -n <number of passes>: specify number of passes
                (default is 3 passes)
        -v: verbose mode. display list of failures and wiped files after wiping


Known bugs / caveats
--------------------
srm can't recursively remove files, i.e. it can't remove directories.

Recent activity

Kyle Isom

Kyle Isom pushed 3 commits to kisom/srm

c6e6b3d - Statically build, and remove _XOPEN_SOURCE define.
4647609 - dirent stuff isn't SuS, so remove that from standards.
ffd5f53 - Minor cleanups.
Kyle Isom

Commits by Kyle Isom were pushed to kisom/srm

5c5c7b1 - code formatting; fix config.sh; bump patch number Linux version of config.sh was double-defining _XOPEN_SOURCE; the Makefile template specifies SuSv3 compatibility now. The previous Linux-only _XOPEN_SOURCE ...
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.