Swds 发布的文章

rclone 挂载ssh后用raidrive不能正常修改文件?
改用sshfs,开启免密登陆,并挂载。可以正常用了。

ssh-keygen;
ssh-copy-id -i ~/.ssh/id_rsa.pub -p 22222 root@xx.swds.cf;
mkdir swdsxx;
sshfs -p 22222 root@xx.swds.cf:/root /root/swdsxx -o follow_symlinks;

:80 {
    redir https://swds.tk:443{url}
    }
https://swds.tk:443, https://de.swds.tk:443  {
    gzip
    tls admin@de.swds.tk
    root /www
    proxy /v/ localhost:8080 {
        websocket
        header_upstream -Origin
    }
    fastcgi / /run/php/php7.0-fpm.sock php
    log /var/log/caddy.log
}

cd /root/temp
zip -rqy swds-tk-$(date +"%y%m%d-%H%M%S").zip /www
rclone move *.zip cg:/root/iSpy/site
rclone copy syncthing/ odrive:syncthing/ -v --exclude *.thumb* --exclude *.tmp --max-age 70h --no-traverse 

zip r递归 q安静 y不追踪文件连接