Mxl is a Linux utility to delete sensitive files in panic situations.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Twann 8067d2440e
Added Makefile for building and cleaning workspace
2 months ago
extra Restored previous README 3 months ago
mxl release version 1.0.5 3 months ago
.gitignore Initial commit 4 months ago
CHANGELOG release version 1.0.5 3 months ago
LIBRARIES.md Initial commit 4 months ago
LICENSE Initial commit 4 months ago
Makefile Added Makefile for building and cleaning workspace 2 months ago
README.md release version 1.0.5 3 months ago
requirements.txt Initial commit 4 months ago
setup.py Removed '# -*- encoding: utf-8 -*-' in python files 3 months ago

README.md

Mxl

Mxl is a Linux utility to delete sensitive files in panic situations.

It is open-source and written in Python.

Summary

Installation

To install Mxl on your Linux computer, simply run:

$ pip install mxl

If you are on Arch Linux, you can find Mxl on the AUR

Disclaimer

You are the only one responsible for what you do, using Mxl. Mxl aims to be a program to use in panic situations, when there is no other choice except deleting the sensitive files.

Remember the following advices before using Mxl:

  1. Backup your files regularly.
  2. Never run Mxl as root.
  3. Always verify the files that are added to a profile.

Usage

To use Mxl, you need to create a profile. After creating it, you can add any file you want to it. If you trigger the profile, all files added to it will be destroyed.

Create a profile

To create a profile, simply run (here we will call our profile "example"):

$ mxl profile create example

Delete a profile

If you have a profile, but that you don't need it anymore, you can delete it by running:

$ mxl profile del example

This will only remove the profile, not the files add to it.

Add files to a profile

Now, we need to add files to our profile, by running:

$ mxl add /path/to/my_file.txt example

You can also add all files from a directory and its subdirectories by running:

$ mxl add /path/to/my_directory example -r

Remove files from a profile

If you added a file to a profile, but that you don't need it to be added to the profile anymore, just run:

$ mxl rm /path/to/my_file.txt example

You can also remove all files added inside a directory and its subdirectories, by running:

$ mxl rm /path/to/my_file.txt example -r

Trigger a profile

It is highly recommended to check which files are added to a profile before triggering it. However, as Mxl is a tool to use in panic situations, you usually don't have the time to do it. That's why you should always check that every time you add or remove a file from a profile.

When triggering a profile, all files added to it will be deleted. To trigger a profile, just run:

$ mxl trigger example

Then, the program will give you 10 seconds to cancel before destroying all files added to the triggered profile. If you don't want to wait, run:

$ mxl trigger example --now

After triggering a profile, the profile automatically deletes itself.

Be careful before triggering a profile. It cannot be undone.

Check files from a profile

To check which files are added to a profile, just run:

$ mxl profile files example

The program will give you a list of all files added to this profile. If a path is green, it means that the file exists. If it is red, the file does no longer exist.

You can also check if a file is added by running:

$ mxl status /path/to/my_file.txt

The program will tell you if the file is added to a profile, and if it is, to which profile(s) it is added.

License

Mxl is released under MIT License.

See here for libraries used in the project.

Changelog

Here you can compare difference between versions and read the release notes.

Contact

If you wish to contact the author of this project: