Update README.md

This commit is contained in:
Paul Lecuq 2018-07-01 17:57:00 +02:00 committed by GitHub
parent 75740dd64d
commit 1cee844848
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,16 +1,18 @@
# matrix # matrix
Matrix is a small program that saves permissions on directory to a file and can restore it on another directory (or another machine) Matrix is a small program that saves permissions on directory to a file and can restore it on another directory (or another machine)
![alt text](http://www.lepoint.fr/images/2017/10/27/10978762lpw-10979123-article-jpg_4669854.jpg "Matrix")
## Usage ## Usage
Backup file permissions of /etc on /tmp/backup.txt Backup file permissions of /etc on /tmp/backup.txt
<code> ```
matrix.py backup /tmp/backup.txt /etc matrix.py backup /tmp/backup.txt /etc
</code> ```
Restore file permissions on /etc based on backup.txt Restore file permissions on /etc based on backup.txt
<code> ```
matrix.py restore /tmp/backup.txt /etc matrix.py restore /tmp/backup.txt /etc
</code> ```