摘要: 获得/bin/log文件夹下的所有文件,mv oldname.txt newname.txt重新命名文件名 DIR="/path/to/files" sufix=".txt" for file in $DIR/*.log ; do if [ -f "$file" ]; then mv "$file" 阅读全文
posted @ 2025-05-12 23:12 爱晒太阳的懒猫。。 阅读(13) 评论(0) 推荐(0)
摘要: 1. 服务管理脚本2. 日志处理脚本3. 部署脚本4. 数据库备份脚本5. 监控脚本6. 批量处理脚本7. 网络工具脚本 阅读全文
posted @ 2025-05-12 22:40 爱晒太阳的懒猫。。 阅读(9) 评论(0) 推荐(0)