Slight semantic difference in tarring

This commit is contained in:
Salt 2020-06-30 06:48:53 -05:00
parent debfc714aa
commit 46f098dfb2

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