macOSのPhotosアプリから写真・動画を年/月ディレクトリ構造でエクスポートするツール
Project description
OSX Photo Archiver
macOSのPhotosアプリから写真・動画を年/月ディレクトリ構造でエクスポートするツール
特徴
- 写真・動画を撮影日別(年/月)に自動整理
- 重複ファイルの管理(スキップ/上書き)
- 期間指定によるエクスポート
- メタデータ(EXIF)の活用
- シンプルなコマンドラインインターフェース
インストール
pip install osx-photo-archiver
必要条件
- macOS 10.15以降
- Python 3.8以降
- Photos.appに写真・動画が取り込まれていること
- フルディスクアクセス権限の設定(必要に応じて)
使い方
基本的な使用方法:
osx-photo-archiver ~/Pictures/Sorted
期間を指定してエクスポート:
osx-photo-archiver \
--from-date 2024-01-01 \
--to-date 2024-12-31 \
~/Pictures/Sorted
オプション
--from-date: エクスポート開始日(YYYY-MM-DD形式)--to-date: エクスポート終了日(YYYY-MM-DD形式)--skip-duplicates/--no-skip-duplicates: 重複ファイルのスキップ設定
出力ディレクトリ構造
出力先ディレクトリ/
├── 2024/
│ ├── 01/
│ │ ├── IMG_0001.JPG
│ │ └── IMG_0002.MOV
│ └── 02/
│ ├── IMG_0003.JPG
│ └── IMG_0004.HEIC
└── 2023/
└── 12/
├── IMG_0005.JPG
└── IMG_0006.PNG
ライセンス
MIT License
謝辞
このツールはosxphotosを利用しています。
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
osx_photo_archiver-0.1.2.tar.gz
(11.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file osx_photo_archiver-0.1.2.tar.gz.
File metadata
- Download URL: osx_photo_archiver-0.1.2.tar.gz
- Upload date:
- Size: 11.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b262be9daec68d78a9876249ffcf4de51e51de2bc52f51d6ae17e8bbbf76e4d1
|
|
| MD5 |
f1cae855f99093dafbc922f4d3b6d005
|
|
| BLAKE2b-256 |
d6768d03c2604e28e362c431f12b1a57b1e70c8d5e276f63ad0851eb9b193f16
|
File details
Details for the file osx_photo_archiver-0.1.2-py3-none-any.whl.
File metadata
- Download URL: osx_photo_archiver-0.1.2-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f93998aa7df917b13bf7277e0eec0f18fbc88c9e02241dec9f2a214328659fb8
|
|
| MD5 |
a4194386776898b1922d8cbe1b95f7b4
|
|
| BLAKE2b-256 |
8c08d35889a8108d782705e680f6b116e4ecec8a84d235bb013013d81f3473a8
|