- 用 ExifTool 來修改照片或影片的日期
- What is ExifTool? What is EXIF?
- ExifTool: 一個可以修改 EXIF metadata 的 command line 軟體
- EXIF: 簡單說就是相機為了儲存一些資訊, 在 video/image 檔案前面填了一些額外的資訊
- How?
- 安裝:
- Mac
sudo port install exiftool
- 執行:
- 更改時間
exiftool -alldates="2018:01:01 00:00:00" "-filemodifydate" fileOrDirName
- 顯示目前時間相關的 tag
exiftool -a -s -G0:1 -time:all fileOrDirName
- Reference
2019年1月25日 星期五
[Tool] 用 ExifTool 修改影片日期
2013年6月25日 星期二
[Software] 文件轉檔工具
好用的文件轉檔工具: Pandoc
常用指令: pandoc -s input.format -o output.format
這邊 format可以是 .tex, .html, .pdf, .doc, ...等等, 相當多, 注意: 這邊的 -s指的是 standalone而非 source
option 選項:
常用指令: pandoc -s input.format -o output.format
這邊 format可以是 .tex, .html, .pdf, .doc, ...等等, 相當多, 注意: 這邊的 -s指的是 standalone而非 source
option 選項:
- 可下 -m做數學轉換, 還有 --webtex或 --mathjax等可轉換, 但注意, 主要以 $...$排版, \begin{equation} 等環境並無法使用
- --toc: table of content, 產生目錄
- -A: 加入內容於後, e.g. pandoc -s input.txt -A sample.html -o output.html, 則程式會將 input.txt轉成 html格式, 並在檔案後頭加入 sample.html的內容
- -B: 加入內容於前
- -c ./sample.css: 可加入 css的排版樣式
訂閱:
文章 (Atom)