about summary refs log tree commit diff
path: root/home/profiles/base/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'home/profiles/base/scripts')
-rwxr-xr-xhome/profiles/base/scripts/airport.nix4
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)