Windows XP - copying files and replacing them in Destination folder ONLY IF NEWER

I have a folder on my "C" drive and a folder on my flash drive "F" and would like to copy files from "C" to "F" and replace only those older "F" resident files with my newer "C" files.
What tool do I use to do this?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Thomas GrassiSystems AdministratorCommented:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Pradeep DubeyConsultantCommented:
you can use robocopy tool to copy older folders only. see the examples given below in the link :

Move files over 14 days old (note the MOVE option will fail if any files are open and locked).
ROBOCOPY C:\SourceFoldern D:\DestinationFolder /move /minage:14

Open in new window

Similarly you could use the below switches
/maxage: <N>     Specifies the maximum file age (to exclude files older than N days or date).
/minage: <N>      Specifies the minimum file age (exclude files newer than N days or date).
/maxlad: <N>      Specifies the maximum last access date (excludes files unused since N).
/minlad: <N>       Specifies the minimum last access date (excludes files used since N) If N is less than 1900, N specifies the number of days. Otherwise, N specifies a date in the format YYYYMMDD
Steven CarnahanNetwork ManagerCommented:
Robocopy is probably the best option however you can also use:

XCOPY’s /D switch.  It will copy only new/changed files.

xcopy "%source%" "%destination%" /D /Y

The /Y will prevent it from prompting.
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

Emmanuel AdebayoGlobal Windows Infrastructure Engineer - ConsultantCommented:
Use can use Robocopy

Robocopy  c:\ f:\ /E /Z /FFT /MIR >c:\util\robo.txt

You will need to use the script first to copy the whole files/folders that you want to copy and after that it will be copy the difference or only the modification.

If this is a home pc you can use an app like allwaysync or create_synchronicity to do the job on a schedule or use a batch file with xcopy /n which updates the file that already exist in the destination file
Gary CaseRetiredCommented:
Any synchronization utility will allow this.

The freeware version of SyncBack is an excellent choice:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows XP

From novice to tech pro — start learning today.