find直接copy大于某一个时间小于某一个时间的文件

find ./ -type f -newermt '2000-01-04 10:30:00' ! -newermt '2019-10-28 10:57:00' -exec cp -a {} /var/log/webraydb/DataPullService/Data_Pull_Service_Factory/Ordinary \;

 

posted @ 2020-12-20 21:06  tigergaonotes  阅读(169)  评论(0编辑  收藏  举报