From 62a682e2db63cd64edaad1036ea7f49733a5496a Mon Sep 17 00:00:00 2001 From: tofasthacker Date: Tue, 8 Aug 2023 18:35:25 -0400 Subject: [PATCH] add permision preservation --- backup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup b/backup index 8caba75..ba94e77 100755 --- a/backup +++ b/backup @@ -24,7 +24,7 @@ echo "" echo -e "\e[0mStarting Backup" -tar -cvf $BACKUP_LOCATION ./*.bak +tar -pcvf $BACKUP_LOCATION ./*.bak while read folder; do # list the contents of each folder