aboutsummaryrefslogtreecommitdiffstats
path: root/.config/init/funcs/send
diff options
context:
space:
mode:
authorkatherine <shmibs@airen-no-jikken.icu>2018-11-28 20:21:32 -0700
committerkatherine <shmibs@airen-no-jikken.icu>2018-11-28 20:21:32 -0700
commit4263d775580e6e2bf3122eb6c24d601fb34a2354 (patch)
tree48e9d3bc848861ebbc95bb3e80c62cac4a99df48 /.config/init/funcs/send
parenta61d45f4244866e12ded168fc8e224c3685a4a36 (diff)
downloaddotfiles-4263d775580e6e2bf3122eb6c24d601fb34a2354.tar.gz
migrate home site domain
Diffstat (limited to '.config/init/funcs/send')
-rwxr-xr-x.config/init/funcs/send6
1 files changed, 3 insertions, 3 deletions
diff --git a/.config/init/funcs/send b/.config/init/funcs/send
index db74680..9afb66a 100755
--- a/.config/init/funcs/send
+++ b/.config/init/funcs/send
@@ -22,18 +22,18 @@ for i in "$@"; do
|| { echo "file '$i' not found"; return 1 }
done
-scp "$@" shmibbles.me:http/tmp/ 2>/dev/null \
+scp "$@" airen-no-jikken.icu:http/tmp/ 2>/dev/null \
|| { echo "sending files failed"; return 1 }
for name in "$@"
do
basename=${name:t}
- ssh shmibbles.me "cd http/tmp; chmod g+r,g-w,o-rw \"${basename//\"/\\\"}\"" \
+ ssh airen-no-jikken.icu "cd http/tmp; chmod g+r,g-w,o-rw \"${basename//\"/\\\"}\"" \
|| { echo "making '$name' readable failed"; return 1 }
{
- printf "%s" 'https://shmibbles.me/tmp/'
+ printf "%s" 'https://airen-no-jikken.icu/tmp/'
for c in "${(s::)basename}"; do
if [[ "${escapes[$c]}" == "" ]]; then
printf "%s" "$c"