diff options
| author | Danilo M. <danix@danix.xyz> | 2026-05-06 13:12:21 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-05-06 13:12:21 +0200 |
| commit | 7818d1b50fccf02b65df2634c6a35cdc5d9b6e80 (patch) | |
| tree | d429a757a4d20962c2501da21700f3ddc3d2e6df /dot-backup.sh | |
| parent | 9ee7d5231513ef7bd51d51dac73693922814cde2 (diff) | |
| download | dots-backup-7818d1b50fccf02b65df2634c6a35cdc5d9b6e80.tar.gz dots-backup-7818d1b50fccf02b65df2634c6a35cdc5d9b6e80.zip | |
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'dot-backup.sh')
| -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 |
