{"id":1399,"date":"2016-01-15T16:05:49","date_gmt":"2016-01-15T23:05:49","guid":{"rendered":"http:\/\/jim-zimmerman.com\/?p=1399"},"modified":"2016-01-15T16:05:49","modified_gmt":"2016-01-15T23:05:49","slug":"timestamp-and-lftp","status":"publish","type":"post","link":"https:\/\/jim-zimmerman.com\/?p=1399","title":{"rendered":"Timestamp and lftp"},"content":{"rendered":"<p>I was using lftp to get a file and do a local listing of the transferred file.  The timestamp was days off when I used &#8220;local ls&#8221;.  With some experimentation, I was able to find that if I pass the command a switch I could get the file creation time.<\/p>\n<p>This is what I used:<\/p>\n<blockquote><p>lftp> local ls -cl<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>I was using lftp to get a file and do a local listing of the transferred file. The timestamp was days off when I used &#8220;local ls&#8221;. With some experimentation, I was able to find that if I pass the command a switch I could get the file creation time. This is what I used: [&#038;hellip<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[425,388],"class_list":["post-1399","post","type-post","status-publish","format-standard","hentry","category-documentation","tag-lftp","tag-time"],"share_on_mastodon":{"url":"","error":""},"_links":{"self":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1399","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1399"}],"version-history":[{"count":1,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1399\/revisions"}],"predecessor-version":[{"id":1400,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1399\/revisions\/1400"}],"wp:attachment":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1399"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1399"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1399"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}