immich-go.md 1.2 KB

immich-go

Immich-Go๋Š” ๋Œ€๊ทœ๋ชจ ์‚ฌ์ง„ ์ปฌ๋ ‰์…˜์„ ์ž์ฒด ํ˜ธ์ŠคํŒ… Immich ์„œ๋ฒ„์— ์—…๋กœ๋“œํ•˜๋Š” ์ž‘์—…์„ ๊ฐ„์†Œํ™”ํ•˜๋„๋ก ์„ค๊ณ„๋œ ์˜คํ”ˆ์†Œ์Šค ๋„๊ตฌ. ์ฐธ๊ณ : immich-cli. ๋” ๋งŽ์€ ์ •๋ณด: https://github.com/simulot/immich-go.

  • Google ์‚ฌ์ง„ ํ…Œ์ดํฌ์•„์›ƒ ํŒŒ์ผ์„ Immich ์„œ๋ฒ„์— ์—…๋กœ๋“œ:

immich-go -server={{์„œ๋ฒ„_์ฃผ์†Œ}} -key={{์„œ๋ฒ„_ํ‚ค}} upload {{๊ฒฝ๋กœ/๋Œ€์ƒ/ํ…Œ์ดํฌ์•„์›ƒ_ํŒŒ์ผ.zip}}

  • ์•จ๋ฒ”์„ ์ž๋™ ์ƒ์„ฑํ•˜๋ฉด์„œ 2019๋…„ 6์›”์— ์ดฌ์˜ํ•œ ์‚ฌ์ง„์„ ๊ฐ€์ ธ์˜ด:

immich-go -server={{์„œ๋ฒ„_์ฃผ์†Œ}} -key={{์„œ๋ฒ„_ํ‚ค}} upload -create-albums -google-photos -date={{2019-06}} {{๊ฒฝ๋กœ/๋Œ€์ƒ/ํ…Œ์ดํฌ์•„์›ƒ_ํŒŒ์ผ.zip}}

  • ๊ตฌ์„ฑ ํŒŒ์ผ์˜ ์„œ๋ฒ„ ๋ฐ ํ‚ค๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ํ…Œ์ดํฌ์•„์›ƒ ํŒŒ์ผ ์—…๋กœ๋“œ:

immich-go -use-configuration={{~/.immich-go/immich-go.json}} upload {{๊ฒฝ๋กœ/๋Œ€์ƒ/ํ…Œ์ดํฌ์•„์›ƒ_ํŒŒ์ผ.zip}}

  • Immich ์„œ๋ฒ„ ์ฝ˜ํ…์ธ ๋ฅผ ๊ฒ€์‚ฌํ•˜๊ณ , ํ’ˆ์งˆ์ด ๋‚ฎ์€ ์ด๋ฏธ์ง€๋ฅผ ์ œ๊ฑฐํ•˜๊ณ , ์—˜๋ฒ”์„ ๋ณด์กด:

immich-go -server={{์„œ๋ฒ„_์ฃผ์†Œ}} -key={{์„œ๋ฒ„_ํ‚ค}} duplicate -yes

  • "YYYY-MM-DD" ํŒจํ„ด์œผ๋กœ ์ƒ์„ฑ๋œ ๋ชจ๋“  ์•จ๋ฒ” ์‚ญ์ œ:

immich-go -server={{์„œ๋ฒ„_์ฃผ์†Œ}} -key={{์„œ๋ฒ„_ํ‚ค}} tool album delete {{\d{4}-\d{2}-\d{2}}}