Merge branch 'main' of https://gitea.locker98.com/tofasthacker/backup
This commit is contained in:
commit
36921a5079
2
backup
2
backup
@ -29,7 +29,7 @@ tar -pcvf $BACKUP_LOCATION ./*.bak
|
|||||||
while read folder; do
|
while read folder; do
|
||||||
# list the contents of each folder
|
# list the contents of each folder
|
||||||
echo -e "\e[32mbackingup: $folder"
|
echo -e "\e[32mbackingup: $folder"
|
||||||
tar -rf $BACKUP_LOCATION $folder &>/dev/null
|
tar -rfp $BACKUP_LOCATION $folder &>/dev/null
|
||||||
done < *.bak
|
done < *.bak
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
|
Loading…
Reference in New Issue
Block a user