I have made many changes to files in my PHP project and I want to push those changes to our server via FileZilla FTP. Rather than push all of the files, I would like to find only the files that have been modified in the last 14 days and copy those to a
/ModifiedFiles folder, preserving the folder structure. This way I can simply drag the contents of the
/ModifiedFiles folder into FileZilla and it will overwrite all the necessary files in the appropriate folders.
If I was using Windows, I could run this line of code and it would accomplish what I want:
xcopy RUF_Donation_Web ModifiedFiles /S /V /I /R /D:02-09-2016
How can I accomplish this in my Bash terminal on my Mac (OS X Yosemite)?