diff options
| -rwxr-xr-x | dot-backup.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dot-backup.sh b/dot-backup.sh index f58c873..34558ca 100755 --- a/dot-backup.sh +++ b/dot-backup.sh @@ -205,6 +205,7 @@ do_rsync() { rsync -a "$src/" "$dst/" && echo -e "\t ${GREEN}Copied${NC}" fi else + mkdir -p "$(dirname "$dst")" if [[ "$VERBOSE" == true ]]; then rsync -av "$src" "$dst" else |
