Fix typo
god dammit
This commit is contained in:
parent
9861f54c0f
commit
6da299c1df
@ -36,7 +36,7 @@ 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")"
|
||||||
forcefile="$dir/.backup/forcemontly"
|
forcefile="$dir/.backup/force"
|
||||||
[ -d "$dir/.backup" ] || continue
|
[ -d "$dir/.backup" ] || continue
|
||||||
for file in "$dir/.backup/"*; do [ -e "$file" ] || continue; done
|
for file in "$dir/.backup/"*; do [ -e "$file" ] || continue; done
|
||||||
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/"*
|
||||||
|
Loading…
Reference in New Issue
Block a user