# shell-tools **Repository Path**: lantian316/shell-tools ## Basic Information - **Project Name**: shell-tools - **Description**: 运维使用的sh脚本云集于此 - **Primary Language**: Shell - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2018-05-14 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # shell-tools - back_func.sh 脚本用于备份文件,并带维护功能,防止磁盘饱和 - sync_log.sh 脚本用于服务器文件同步,实现每秒同步,采用rsync - watch_dir.sh 脚本用于inotify+rsync进行对文件夹监控时时同步 - loop_url.sh 脚本用于循环调用url,递归实现 - clear_file.sh 脚本用于清理指定目录下的文件(清理多少天前的文件) - gencert.sh 生成自签名的文件,用于自签名https协议 ## 小技巧: - 退出终端继续运行: ```bash nohup /data/sh/call/loop.sh "http://git.oschina.net/sgfoot" >> /data/sh/loop.log 2>&1 & ```