This commit is contained in:
Salt 2020-06-30 07:04:08 -05:00
parent 0918589be6
commit 2b8cf96cfe

View File

@ -36,6 +36,6 @@ fi
# WE MAKE BACKUP NOW SERGEI # WE MAKE BACKUP NOW SERGEI
for dir in /home/*; do for dir in /home/*; do
username="$(basename -- "$dir")" username="$(basename -- "$dir")"
tar czhf "$OUTDIR/desktop-$username-{{ inventory_hostname }}-$(date -Iseconds).tar.gz" "$dir/.backup/*" tar czhf "$OUTDIR/desktop-$username-{{ inventory_hostname }}-$(date -Iseconds).tar.gz" "$dir/.backup/"*
done done