This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| while read LINE; do | |
| # 请在do与done之间写下需要执行的语句,为了避免错误,文件对象请使用绝对路径。 | |
| # 以下是一些例子,主要为一些主流的备份工具 | |
| rclone copy ${LINE} [remote:remote_dir] | |
| # rclone支持多种网盘及对象存储,详见:https://github.com/rclone/rclone | |
| bypy upload ${LINE} [remote_dir] | |
| # bypy支持百度网盘的上传下载,详见:https://github.com/houtianze/bypy | |
| fake115uploader -m ${LINE} [remote_dir] |