#!/bin/sh # 更改路径为你电脑sync.sh文件所在文件夹路径 cd /path/to/your/sync.sh/folder nohup ./sync.sh >/dev/null 2>&1 &