Update README.md

This commit is contained in:
Paul Lecuq 2018-06-23 11:07:33 +02:00 committed by GitHub
parent 4a4ee9e5e9
commit 75740dd64d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,13 +1,16 @@
# matrix
Matrix is a small program that saves permissions on directory to a file and can restore it on another directory (or another machine)
# Usage
## Usage
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
<code>
# matrix.py restore /tmp/backup.txt /etc
matrix.py restore /tmp/backup.txt /etc
</code>