A message for Linux.com registered users: We are in the process of making changes to the Linux forums. Starting Monday, 8/13/18 at 6:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Wednesday, 8/15/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.

December 2, 2010

Porting Windows CopyFile to Linux?

I have an application that makes extensive use of Windows CopyFile.
http://msdn.microsoft.com/en-us/library/aa363851%28VS.85%29.aspx

This function copies a file between folders on same, different hard drives and also across the local file sharing network [SAMBA].
The key property of this function is to preserve the "last modified" date attribute of a file.

Does anyone know of a Linux system function or a library function that provides these features?

Thanks,
ww

Click Here!