【发布时间】:2023-01-02 16:17:11
【问题描述】:
我正在尝试使用终端使用创建日期将文件从一个文件夹移动到另一个文件夹。
我正在使用脚本
find /root/call_log/files23 -type f -newermt 2022-06-01 -not -newermt 2022-06-02 -exec mv {} /archive
/root/call_log/files23 is location ... /archive is destination but getting an error missing argument -exec. How can i fix it or is there a better way of doing it
【问题讨论】: