All Projects → kasparsd → Photos Sync

kasparsd / Photos Sync

Sync OS X Photos to Anywhere (NAS, Dropbox, Amazon S3 or Glacier, Backblaze B2)

Projects that are alternatives of or similar to Photos Sync

Nanogallery2
a modern photo / video gallery and lightbox [JS library]
Stars: ✭ 488 (+1582.76%)
Mutual labels:  photos
React Native Photo Browser
Local and remote media gallery with captions, selections and grid view support for react native.
Stars: ✭ 668 (+2203.45%)
Mutual labels:  photos
Peergos
A p2p, secure file storage, social network and application protocol
Stars: ✭ 895 (+2986.21%)
Mutual labels:  photos
Go Sync
gosync is a library for Golang styled around zsync / rsync, written with the intent that it enables efficient differential file transfer in a number of ways. NB: I am unable to contribute to this at the moment
Stars: ✭ 494 (+1603.45%)
Mutual labels:  rsync
Filmulator Gui
Filmulator --- Simplified raw editing with the power of film
Stars: ✭ 522 (+1700%)
Mutual labels:  photos
Paparazzo
Custom iOS camera and photo picker with editing capabilities
Stars: ✭ 714 (+2362.07%)
Mutual labels:  photos
Bubblepictures
Bubble Pictures for iOS done in Swift
Stars: ✭ 434 (+1396.55%)
Mutual labels:  photos
Flickrsync
A command line tool to synchronise, upload, download, pictures between the local file system and Flickr. Image hash signature of the picture is used to uniquely identify the image.
Stars: ✭ 14 (-51.72%)
Mutual labels:  photos
React Grid Gallery
Justified image gallery component for React
Stars: ✭ 571 (+1868.97%)
Mutual labels:  photos
Lpalbum
an albums that can preview, multiple-choice
Stars: ✭ 17 (-41.38%)
Mutual labels:  photos
React Viewer
react image viewer, supports rotation, scale, zoom and so on
Stars: ✭ 502 (+1631.03%)
Mutual labels:  photos
Rdiff Backup
Reverse differential backup tool, over a network or locally.
Stars: ✭ 510 (+1658.62%)
Mutual labels:  rsync
Rsyncosx
A macOS GUI for rsync
Stars: ✭ 780 (+2589.66%)
Mutual labels:  rsync
Thumbsup
Generate static HTML photo / video galleries
Stars: ✭ 493 (+1600%)
Mutual labels:  photos
Media picker
A Flutter Plugin for Selecting and Taking New Photos and Videos.
Stars: ✭ 24 (-17.24%)
Mutual labels:  photos
Rxpaparazzo
RxJava extension for Android to take images using camera and gallery and pick files up
Stars: ✭ 467 (+1510.34%)
Mutual labels:  photos
Opensource Socialnetwork
Open Source Social Network (OSSN) is a social networking software written in PHP. It allows you to make a social networking website and helps your members build social relationships, with people who share similar professional or personal interests. It is available in 16 international languages.
Stars: ✭ 710 (+2348.28%)
Mutual labels:  photos
Ustcmirror Images
Docker images used by ustcmirror 🚀
Stars: ✭ 29 (+0%)
Mutual labels:  rsync
Elodie
An EXIF-based photo assistant, organizer, manager and workflow automation tool.
Stars: ✭ 840 (+2796.55%)
Mutual labels:  photos
Lychee
A great looking and easy-to-use photo-management-system you can run on your server, to manage and share photos.
Stars: ✭ 816 (+2713.79%)
Mutual labels:  photos

Sync and Backup OS X Photos to Any Location

Screenshot of a synchronized Photos folder

A script that creates a folder with symbolic links (symlinks) to all of the OS X Photos originals which can be rsynced to any location. I use it to share all my photos with the rest of the family using a shared WD EX2 drive. This allows me to avoid adding everything to the Family shared album on iCloud Photos.

$ git clone https://github.com/kasparsd/photos-sync.git
$ php photos-sync/symlink-photos.php

It reads the OS X Photos database (SQLite) at ~/Pictures/Photos Library.photoslibrary/database/Library.apdb (a copy of it) and creates symlinks to all original photos and videos in the photos-sync/links folder organized by month and filenames prepended with an md5 hash of the file path to avoid collisions.

It can then be sent to any location using rsync or any other tool of preference. Here is a sample bash script which could be added to cron:

#!/bin/bash

# Ensure that we're always relative to the current directory
cd "$(dirname "$0")"

# Symlink photos and rsync to the network share
php symlink-photos.php

# Mount the network share
mount_afp afp://western.local/Public /Volumes/Public

# Resolve and synchronize symlinks to the network share
rsync -avL links/ /Volumes/Public/Photos

where -L ensures that rsync resolves the symlinks.

Run it every hour via cron crontab -e:

30 * * * * pgrep -f sync.sh || /path/to/sync.sh

where pgrep -f sync.sh will ensure that no other sync process is in progress.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].