
13 Apr
2007
13 Apr
'07
8 p.m.
________________________________________ From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Windflower Waters Sent: Friday, April 13, 2007 1:45 PM To: boost-users@lists.boost.org Subject: [Boost-users] [filesystem] Any way to preserve timestamps withcopy_file? I'm copying .jpg files off a camera and I need to know the date the pictures were taken. Because of other constraints I want to accomplish this preserving the timestamp when I copy the file over. [Nat] Sounds as though you want to capture the last_write_time() of the source file and set the same last_write_time() on the destination file after the copy. http://boost.org/libs/filesystem/doc/operations.htm#last_write_time