這篇文章是幫助windows使用者整理照片,請參考本blog的 自動整理照片策略
##Windows使用者服用
不用害怕,你只需要click而已。
雖然我很久沒用windows了,不過還是得照顧一下windows族群的朋友。而且久沒寫windows command line,寫起來果然是很掰咖。
####1. 下載ExifTool
windows使用者請下載 Windows Executable,解壓縮之後會看到一個exe檔 exiftool(-k).exe
####2. 下載 可執行的指令檔
指令檔程式碼放在gist,相信我的話可以略過不用看
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"exiftool(-k)" -d %%Y-%%m-%%d "-directory<createdate" *.jpg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"exiftool(-k)" "-FileName<${DateTimeOriginal}_$Model.%%e" -d %%Y-%%m-%%d_%%H-%%M-%%S%%%%-.c . |
解壓縮之後會看到兩個檔案
datetime_path.cmd
datetime_rename.cmd
####3. 將下載下來的檔案(共有三個)都放在你的照片資料夾
像是這樣:
####4. 點擊datetime_rename
你會看到圖片依照日期時間重新命名
####4. 點擊datetime_path
你會看到圖片依照日期分到各個資料夾
##打完收工!!
希望這有幫助到你的整理工作。除了相機照片的整理,像是dropbox在手機上有個自動上傳的功能,會自動上傳到Camera Upload的資料夾裡頭,你只要在這個資料夾裡頭執行這個指令就可以快速整理好照片,真的很方便!
###參考: