200426.26 · 9da46c684a41bfb002117f8c408a8fffbd6824a4
rename some things
reading declarations
@@ -10,7 +10,8 @@ is-work && [[ -f ~/work/rc/envrc ]] && . ~/work/rc/envrc is-work && [[ -f ~/work/rc/zshrc ]] && . ~/work/rc/zshrc # Setup umask.-if is-remote-old; then+# N.B. kent is a shared system, so use more restrictive umask.+if is-kent; then umask 0077 else umask 0002
@@ -1,2 +1 @@-/remote-old-sync filter=git-crypt-home diff=git-crypt-home /ssh-add-keys filter=git-crypt-home diff=git-crypt-home
@@ -0,0 +1,7 @@+#!/bin/sh++if [ "$(myhostname)" = kent ]; then+ exit 0+else+ exit 1+fi
bin/is-remote-old
@@ -1,7 +0,0 @@-#!/bin/sh--if [ -f "$HOME/.isremoteold" ]; then- exit 0-else- exit 1-fi
@@ -0,0 +1,5 @@+#!/bin/sh++rsync --bwlimit=3m -rh --inplace --progress kent:"~/done/\"$1\"" /m/media/stage/+# rsync -rh --inplace --progress kent:"~/done/\"$1\"" /m/media/stage/+chmod -R +r /m/media/stage
bin/remote-old-sync