Matrix is a small program that saves permissions on directory to a file and can restore it on another directory (or another machine)
Go to file
2018-07-03 12:11:35 +02:00
.gitignore Initial commit 2018-06-23 11:00:16 +02:00
LICENSE Initial commit 2018-06-23 11:00:16 +02:00
matrix.py bug when stripping directories 2018-07-03 12:11:35 +02:00
README.md Update README.md 2018-07-01 17:57:00 +02:00

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

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