Slight semantic difference in tarring
This commit is contained in:
parent
debfc714aa
commit
46f098dfb2
@ -36,6 +36,6 @@ fi
|
||||
# WE MAKE BACKUP NOW SERGEI
|
||||
for dir in /home/*; do
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user