Amaterasu is a secure file and directory deletion utility that erases files and directories from existence, ensuring that sensitive data is permanently destroyed.
- Securely delete files by overwriting them with random data
- Support for secure deletion of files of any size
- Configurable number of overwrite passes for increased security
- Cross-platform support (Windows, macOS, Linux)
- Easy to use command-line interface
- Deno runtime environment (version 1.0.0 or later)
-
Make sure you have Deno installed on your system. If you don't have it yet, follow the installation instructions at https://deno.land.
-
Clone the repository:
git clone https://github.com/sidedwards/amaterasu.git
-
Compile into an executable binary:
deno compile --unstable --allow-read --allow-write amaterasu.ts
You will see an executable binary named
amaterasu
(oramaterasu.exe
on Windows) in the current directory.Note The
--unstable
flag is required as deno compile is an unstable feature at the time of writing. The--allow-read
and--allow-write
flags are needed for file access during runtime.
./amaterasu [file|directory] [options]
On Windows:
.\amaterasu.exe [file|directory] [options]
--passes, -p [number]
: Number of overwrite passes (default: 3)--help
: Show help message
Securely delete a file called secret.txt
with 5 overwrite passes:
./amaterasu secret.txt --passes 5
On Windows:
.\amaterasu.exe secret.txt --passes 5
If you'd like to contribute to the project, feel free to open a pull request or create an issue to report bugs or suggest improvements.
This project is licensed under the MIT License - see the LICENSE file for details.