Linux find and copy command with time and date range
find -type f -newermt "2022-1-4 00:00:00" \! -newermt "2022-1-4 10:30:00" -exec cp {} /tmp/test/ \;
No comments:
Post a Comment