{"id":679,"date":"2007-05-18T14:42:09","date_gmt":"2007-05-18T19:42:09","guid":{"rendered":"http:\/\/softbeam.net\/hobby\/?p=679"},"modified":"2007-05-18T14:42:09","modified_gmt":"2007-05-18T19:42:09","slug":"copy-between-linux-and-windows-with-timestamps-preserved","status":"publish","type":"post","link":"https:\/\/softbeam.net\/hobby\/?p=679","title":{"rendered":"copy between linux and windows with timestamps preserved"},"content":{"rendered":"<p>To keep original date during file transfer is to first zip them.<br \/>\nZipped some files in windows and transferred this zip file to linux. You can only unzip it in linux partition with the original date kept. When moving these unzipped file to mounted dos partition, file dates just changed.<br \/>\nHere is the way:<br \/>\nsudo cp &#8211;preserve=timestamps somefile \/mnt\/dos-e\/somewhere<\/p>\n<p>more simple way and preserve everything:<\/p>\n<p>sudo cp -p<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To keep original date during file transfer is to first zip them. Zipped some files in windows and transferred this zip file to linux. You can only unzip it in linux partition with the original date kept. When moving these unzipped file to mounted dos partition, file dates just changed. Here is the way: sudo &hellip; <a href=\"https:\/\/softbeam.net\/hobby\/?p=679\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;copy between linux and windows with timestamps preserved&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-679","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/softbeam.net\/hobby\/index.php?rest_route=\/wp\/v2\/posts\/679","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softbeam.net\/hobby\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softbeam.net\/hobby\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softbeam.net\/hobby\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/softbeam.net\/hobby\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=679"}],"version-history":[{"count":0,"href":"https:\/\/softbeam.net\/hobby\/index.php?rest_route=\/wp\/v2\/posts\/679\/revisions"}],"wp:attachment":[{"href":"https:\/\/softbeam.net\/hobby\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=679"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softbeam.net\/hobby\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=679"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softbeam.net\/hobby\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=679"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}