19 lines
462 B
Markdown
19 lines
462 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](https://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
|
|
```
|