Whups
This commit is contained in:
parent
0918589be6
commit
2b8cf96cfe
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user