2019年10月14日

按系统日期生成目录

摘要: # more PMFileCreat.sh #!/bin/bash today=$(date '+%Y%m%d') mkdir /opt/$today #ls -lrt /opt/dayFiles/PM*|tail -6|awk '{print $9}'|xargs -i cp {} ./$today/ cd /opt/dayFiles/ ls -lrt PM*|tail -6|awk '{pri 阅读全文

posted @ 2019-10-14 18:17 winecork 阅读(199) 评论(0) 推荐(0) 编辑

导航