|
Boost Users : |
From: Nat Goodspeed (ngoodspeed_at_[hidden])
Date: 2007-04-13 16:00:57
________________________________________
From: boost-users-bounces_at_[hidden]
[mailto:boost-users-bounces_at_[hidden]] On Behalf Of Windflower
Waters
Sent: Friday, April 13, 2007 1:45 PM
To: boost-users_at_[hidden]
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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net