Copy by date on a mac

I am unfamilar with mac os. In windows you can use the xcopy command to copy items by date. Xcopy will also recurse directories meaning it will copy the entire folder structure as well.

how can I do this one a mac?
Who is Participating?
ozoConnect With a Mentor Commented:
find . -mtime <age_in_days> | xargs -J % cp % destination
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.