shell 重命名添加时间

cp a.txt $(date +%Y-%m-%d_%H:%M:%S).txt
原文地址:https://www.cnblogs.com/zhzhlong/p/14025084.html