diff options
author | sefidel <contact@sefidel.net> | 2023-07-27 18:08:05 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2023-07-27 18:09:38 +0900 |
commit | 54f5166c0fb9c94ec09471d4c6f6a22088815460 (patch) | |
tree | 508e513c272abd24e56fa4e3f3658debe3fdfd3b | |
parent | 905af590ac0ccce728d2fb127e25bbde4fb6cc02 (diff) | |
download | nixrc-54f5166c0fb9c94ec09471d4c6f6a22088815460.tar.gz nixrc-54f5166c0fb9c94ec09471d4c6f6a22088815460.zip |
feat(home/base): don't create additional dir
-rwxr-xr-x | home/profiles/base/scripts/airport.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/home/profiles/base/scripts/airport.nix b/home/profiles/base/scripts/airport.nix index f123557..cedb1d4 100755 --- a/home/profiles/base/scripts/airport.nix +++ b/home/profiles/base/scripts/airport.nix @@ -61,12 +61,12 @@ case "$1" in send) delay "Airport will run 'rsync -au' to $DIR to SEND" - rsync -au --stats --info=progress2 --mkpath $DIR $USER@$HOST:airport + rsync -au --stats --info=progress2 --mkpath $DIR/ $USER@$HOST:airport ;; recv) delay "Airport will run 'rsync -au' to $DIR to RECV" - rsync -au --stats --info=progress2 $USER@$HOST:airport $DIR + rsync -au --stats --info=progress2 $USER@$HOST:airport/ $DIR ;; configure) |