Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nserban/mac-export-photos
Mac Export Photos
https://github.com/nserban/mac-export-photos
export-photos mac-osx photos python
Last synced: about 1 month ago
JSON representation
Mac Export Photos
- Host: GitHub
- URL: https://github.com/nserban/mac-export-photos
- Owner: nserban
- License: apache-2.0
- Created: 2018-03-30T07:07:23.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-03-29T12:40:33.000Z (almost 3 years ago)
- Last Synced: 2024-10-25T05:49:46.335Z (3 months ago)
- Topics: export-photos, mac-osx, photos, python
- Language: Python
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mac Export Photos
##### Mac Export Photos preserving creation date and time.### Description
Exporting original photos from Mac Photos in a separate folder **preserving creation date and time** for files.
Export can be done by year and month.### Installation
1. Copy file mac-export-photos.py in your home folder.
2. Make file mac-export-photos.py executable. In Mac Terminal ``chmod a+x ~/mac-export-photos.py``#### Usage
Run in Mac Terminal
```bash
cd ~
./mac-export-photos.py
```### Examples
##### Export photos and videos for a specific month
i.e. May 2017
```bash
./mac-export-photos.py --year 2017 --month 05 --destination
```##### Export photos and videos with the CORRECT HOUR
Mac Photos is storing photos time in UTC (Coordinated Universal Time). For the correct hour use parameter ``--hours-offset``i.e. If your photos are taken in Berlin use:
```bash
./mac-export-photos.py --year 2017 --month 05 --destination --hours-offset 2
```i.e. If your photos are taken in Bucharest use:
```bash
./mac-export-photos.py --year 2017 --month 05 --destination --hours-offset 3
```##### Export files filtered by extension
```bash
./mac-export-photos.py --year 2016 --month 04 --destination --filter MOV
```#### Help
```bash
Mac Export Photos preserving creation date and time.optional arguments:
-h, --help show this help message and exit
-y YEAR, --year YEAR Year
-m MONTH, --month MONTH
Month
-d DESTINATION, --destination DESTINATION
Destination folder
-ho HOURS_OFFSET, --hours-offset HOURS_OFFSET
Hours offset in hours
-f FILTER, --filter FILTER
Filter files by extension. i.e. JPG, MOV
```