Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- From this tweet from @suttonnick:
- .@sturdyAlex have u seen this? D St gave brief details of mtg after omitting, in addendum at bottom http://www.cabinetoffice.gov.uk/sites/default/files/resources/PMcombinedaprjunfinal.pdf h/t @robindbrant
- https://twitter.com/#!/suttonnick/statuses/200717815496445952
- (The link embedded in the tweet was originally shortened by Twitter's URL shortener to: http://t.co/L6rR9SHm - copying and pasting the tweet's content from a tab in Chromium into PasteBin has brought through the non-shortened URL)
- Downloading the file using a web browser usually means the local/downloaded file has a date/time stamp of when it was retrieved. By using the Linux command-line 'wget' command to download the file, it will preserve in the local/downloaded file the date and time stamp from the remote copy as provided by the Cabinet Office's web server.
- Here's the series of commands that did just that:
- chrism@commodus ~/Downloads $ date
- Fri May 11 00:15:23 BST 2012
- chrism@commodus ~/Downloads $ wget http://www.cabinetoffice.gov.uk/sites/default/files/resources/PMcombinedaprjunfinal.pdf
- --2012-05-11 00:16:07-- http://www.cabinetoffice.gov.uk/sites/default/files/resources/PMcombinedaprjunfinal.pdf
- Resolving www.cabinetoffice.gov.uk... 176.34.254.94
- Connecting to www.cabinetoffice.gov.uk|176.34.254.94|:80... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: unspecified [application/pdf]
- Saving to: `PMcombinedaprjunfinal.pdf'
- [ <=> ] 115,421 39.3K/s in 2.9s
- 2012-05-11 00:16:17 (39.3 KB/s) - `PMcombinedaprjunfinal.pdf' saved [115421]
- chrism@commodus ~/Downloads $ ls -l PMcombinedaprjunfinal.pdf
- -rw-rw-r-- 1 chrism chrism 115421 2012-04-02 00:19 PMcombinedaprjunfinal.pdf
- chrism@commodus ~/Downloads $
- I started with the "date" command to show what the date and time were when I started this process. The next command, "wget http://www.cabinetoffice.gov.uk/sites/default/files/resources/PMcombinedaprjunfinal.pdf" to retrieve the file. And when the download had completed, the command: "ls -l PMcombinedaprjunfinal.pdf" shows the details of the file just downloaded.
- So we can see that the file's date and time stamp on the Cabinet Office's web server is: 12:19am on 2nd April 2012.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement