shell腳本 刪除過時sql備份

#!/bin/sh location="/data/backup/mysql/" #備份目錄(7天之前) find $location -type f -name \*.sql -mtime +7 -exec rm {} \;
相關文章
相關標籤/搜索