![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
向娇葵
这个作者很懒,什么都没留下…
展开
-
创建Linux自启动服务
文件路径: /etc/systemd/system/文件名: *.service命令: systemctl参数:start: 启动程序stop: 关闭程序enable: 打开自启动disable: 关闭自启动is-active: 是否启动is-enabled: 是否打开自启动文件内容:[Unit]Description=AppConditionPathExists=/opt/AppConditionFileIsExecutable=/opt/App/App[Service原创 2022-03-18 17:31:56 · 1102 阅读 · 0 评论 -
rsync按照修改时间增量备份
#!/bin/bash# author: yinkui# create-time: 2021/11/16# last-modify: 2021/11/16if [ -z "$3" ]then echo "增量备份工具" echo "参数1(String):要备份的源目录" echo "参数2(Integer):要抓取的天数" echo "参数3(String):要备份的目标目录" echo "特殊说明:会在当前脚本执行目录下使用filesfrom.list原创 2021-11-16 15:39:03 · 1194 阅读 · 0 评论