Usually when you delete a file using rm
, It removes the pointer to the file system. However, the data can still be accessed by forensic/data recovery tools.
rmx
Shreds your files/folders by overwriting them with multiple rounds of random data. It also removes the pointer to the file system. This makes it impossible to recover the data.
go install github.com/oyamo/rmx@latest
echo "export PATH=$PATH:/home/$USER/go/bin" >> ~/.bashrc
- Delete files
- Delete folders
- Delete files in a folder
- Delete files in a folder recursively
- Delete files in a folder recursively with a regex pattern
- Write random bytes to the file
- Zero out the file
- Randomize the file name
- Update makefile to install the binary in /usr/local/bin
- Add a progress bar
- Create deb and rpm packages