Is there function like xcopy that has options to only copy a file if it has been modified and won't copy it if the file is the same?
This is a discussion on xcopy-like function API within the Windows Programming forums, part of the Platform Specific Boards category; Is there function like xcopy that has options to only copy a file if it has been modified and won't ...
Is there function like xcopy that has options to only copy a file if it has been modified and won't copy it if the file is the same?
Compiler MSVC++ 2010 with Code::Blocks.
most software that keeps folders "in sync," like you're describing, maintains its own database of the files in that folder, and compares the file date with the stored date, and makes the determination to copy based on that.