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-06-23 11:07:33 +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 Initial matrix.py commit 2018-06-23 11:01:08 +02:00
README.md Update README.md 2018-06-23 11:07:33 +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)

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