matrix/README.md
2018-07-01 17:57:00 +02:00

19 lines
461 B
Markdown

# matrix
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
Backup file permissions of /etc on /tmp/backup.txt
```
matrix.py backup /tmp/backup.txt /etc
```
Restore file permissions on /etc based on backup.txt
```
matrix.py restore /tmp/backup.txt /etc
```