{"action":"created","issue":{"url":"https://api.github.com/repos/solomonxie/solomonxie.github.io/issues/27","repository_url":"https://api.github.com/repos/solomonxie/solomonxie.github.io","labels_url":"https://api.github.com/repos/solomonxie/solomonxie.github.io/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/solomonxie/solomonxie.github.io/issues/27/comments","events_url":"https://api.github.com/repos/solomonxie/solomonxie.github.io/issues/27/events","html_url":"https://github.com/solomonxie/solomonxie.github.io/issues/27","id":290708033,"number":27,"title":"Linux 命令行终端操作积累","user":{"login":"solomonxie","id":14041622,"avatar_url":"https://avatars2.githubusercontent.com/u/14041622?v=4","gravatar_id":"","url":"https://api.github.com/users/solomonxie","html_url":"https://github.com/solomonxie","followers_url":"https://api.github.com/users/solomonxie/followers","following_url":"https://api.github.com/users/solomonxie/following{/other_user}","gists_url":"https://api.github.com/users/solomonxie/gists{/gist_id}","starred_url":"https://api.github.com/users/solomonxie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solomonxie/subscriptions","organizations_url":"https://api.github.com/users/solomonxie/orgs","repos_url":"https://api.github.com/users/solomonxie/repos","events_url":"https://api.github.com/users/solomonxie/events{/privacy}","received_events_url":"https://api.github.com/users/solomonxie/received_events","type":"User","site_admin":false},"labels":[{"id":831921770,"url":"https://api.github.com/repos/solomonxie/solomonxie.github.io/labels/Frequent%20notes","name":"Frequent notes","color":"c5def5","default":false},{"id":290633404,"url":"https://api.github.com/repos/solomonxie/solomonxie.github.io/labels/Linux","name":"Linux","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/solomonxie/solomonxie.github.io/milestones/2","html_url":"https://github.com/solomonxie/solomonxie.github.io/milestone/2","labels_url":"https://api.github.com/repos/solomonxie/solomonxie.github.io/milestones/2/labels","id":3053599,"number":2,"title":"TOP NOTES","description":"Most recently or most frequently notes","creator":{"login":"solomonxie","id":14041622,"avatar_url":"https://avatars2.githubusercontent.com/u/14041622?v=4","gravatar_id":"","url":"https://api.github.com/users/solomonxie","html_url":"https://github.com/solomonxie","followers_url":"https://api.github.com/users/solomonxie/followers","following_url":"https://api.github.com/users/solomonxie/following{/other_user}","gists_url":"https://api.github.com/users/solomonxie/gists{/gist_id}","starred_url":"https://api.github.com/users/solomonxie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solomonxie/subscriptions","organizations_url":"https://api.github.com/users/solomonxie/orgs","repos_url":"https://api.github.com/users/solomonxie/repos","events_url":"https://api.github.com/users/solomonxie/events{/privacy}","received_events_url":"https://api.github.com/users/solomonxie/received_events","type":"User","site_admin":false},"open_issues":18,"closed_issues":0,"state":"open","created_at":"2018-01-22T12:38:50Z","updated_at":"2018-02-09T05:48:38Z","due_on":null,"closed_at":null},"comments":35,"created_at":"2018-01-23T04:46:57Z","updated_at":"2018-04-21T04:30:20Z","closed_at":null,"author_association":"OWNER","body":"## 积累终端命令行相关经验，包括Shell中的bash,zsh，终端中的Terminal, Mac Terminal.app,iTerm等\r\n\r\n注意：这里说linux，linux之类的，其实在mac中也ok。只不过说起来和搜索起来方便而已。"},"comment":{"url":"https://api.github.com/repos/solomonxie/solomonxie.github.io/issues/comments/383266970","html_url":"https://github.com/solomonxie/solomonxie.github.io/issues/27#issuecomment-383266970","issue_url":"https://api.github.com/repos/solomonxie/solomonxie.github.io/issues/27","id":383266970,"user":{"login":"solomonxie","id":14041622,"avatar_url":"https://avatars2.githubusercontent.com/u/14041622?v=4","gravatar_id":"","url":"https://api.github.com/users/solomonxie","html_url":"https://github.com/solomonxie","followers_url":"https://api.github.com/users/solomonxie/followers","following_url":"https://api.github.com/users/solomonxie/following{/other_user}","gists_url":"https://api.github.com/users/solomonxie/gists{/gist_id}","starred_url":"https://api.github.com/users/solomonxie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solomonxie/subscriptions","organizations_url":"https://api.github.com/users/solomonxie/orgs","repos_url":"https://api.github.com/users/solomonxie/repos","events_url":"https://api.github.com/users/solomonxie/events{/privacy}","received_events_url":"https://api.github.com/users/solomonxie/received_events","type":"User","site_admin":false},"created_at":"2018-04-21T04:30:20Z","updated_at":"2018-04-21T04:30:20Z","author_association":"OWNER","body":"# `Exiftool` 命令行操作图片元信息(Megadata)\r\n> Exiftool 是命令行操作exif最强大的工具。\r\n\r\n[官方网址。](https://www.sno.phy.queensu.ca/~phil/exiftool/)\r\n\r\n```shell\r\n# 安装\r\n$ sudo apt-get install exiftool\r\n\r\n# 查看图片exif信息\r\n$ exiftool 图片位置\r\n\r\n# 常用操作\r\n\r\n# Remove all EXIF metadata from the given files:\r\n$ exiftool -All= file\r\n\r\n# Increase time photo taken by 1 hour in directory:\r\n$ exiftool \"-AllDates+=0:0:0 1:0:0\" directory\r\n\r\n# Decrease time photo taken by 1 day and 2 hours on JPEGs only:\r\n$ exiftool \"-AllDates-=0:0:1 2:0:0\" -ext jpg\r\n\r\n# Change only DateTimeOriginal by -1.5 hours & do not keep backups:\r\n$ exiftool -DateTimeOriginal-=1.5 -overwrite_original\r\n\r\n# Rename all JPEGs according to a DateTimeOriginal recursively:\r\n$ exiftool '-filename<DateTimeOriginal' -d %Y-%m-%d_%H-%M-%S%%lc.%%e directory -r -ext jpg\r\n```\r\n\r\n## 常用标签名(Tags)\r\n> 因为编辑exif信息需要知道图片里内置的各种标签名才能修改，所以下面为标签名参考。\r\n\r\n[ExifTool Tag Names](https://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/index.html)\r\n\r\n![screenshot-www sno phy queensu ca-2018 04 21-12-29-03](https://user-images.githubusercontent.com/14041622/39080383-a9b40cc0-455f-11e8-9baf-6ac0b12cf350.png)\r\n"}}
{"actor":{"display_login":"solomonxie"}}