shell 重命名添加时间

 

cp a.txt $(date +%Y-%m-%d_%H:%M:%S).txt

 

posted @ 2020-11-23 16:13  静静别跑  阅读(817)  评论(0编辑  收藏  举报