Hello Managers,
I run a find command to copy files modified today only from dir1 to dir2:
find <dir1>/*.log.* -mtime 0 -exec cp -p {} <dir2> \;
'Unfortunately, -mtime 0' gives me today's and yesterday's files.
Does anyone know how to just extract files that are modified today ?
Thanks, Yingha Mui.