Skip to content
  • Home
  • Agro
    • Agro
    • Akuaponik
    • Hidroponik
    • Ayam Kampung
  • DIY
    • DIY
    • Rumah Kampung
  • Tech
    • Tech
    • Titanium Mobile
  • Media
    • Media
    • Downloads
    • Dashcam Drive
  • Misc
    • Pelbagai
    • Makanan
    • Fotografi
    • Idea
    • E-mau
  • Home
  • Agro
    • Agro
    • Akuaponik
    • Hidroponik
    • Ayam Kampung
  • DIY
    • DIY
    • Rumah Kampung
  • Tech
    • Tech
    • Titanium Mobile
  • Media
    • Media
    • Downloads
    • Dashcam Drive
  • Misc
    • Pelbagai
    • Makanan
    • Fotografi
    • Idea
    • E-mau
blog.azwan082.my


Blog ini tidak lagi dikemaskini, sila ke
👉 azwan082.my 👈
untuk dapatkan kandungan terbaru.

#rsync

How to sync Mac OS Photos Library to an external disk storage

On 17 January 2020 in Tech

Note: This tutorial assumes that you are familiar with command line program and you are using Mac OS.

In this article I’m going to share how I back up all my photos and videos from Mac OS Photos Library to an external disk storage.

This method is not strictly about how to sync Photos Library. It actually can be used for syncing any folder in your Mac to an external disk.

I’m using the command line program rsync to perform this task. Use Homebrew to install it:

$ brew install rsync

External disk storage I’m using here is Seagate Expansion 1TB, I bought it online for a discount during 12.12 sale last year. Quite satisfied with the quality, nothing to complain about 😁.

This external disk comes default with NTFS filesystem. Mac OS can read the files in this filesystem format, but not writing to it. Therefore I have to format it to Mac OS Extended (Journaled) to enable read & write access.

After I plug it in to the USB port, it is mounted to this folder: /Volumes/Seagate Expansion 1/. Take note of this path, as your external disk name might be different.

Now, I want to back up my Photos Library inside my Pictures folder. So the path to this photos folder is ~/Pictures/Photos Library.photoslibrary. Your photos folder might be different so adjust accordingly.

So, now we have the source path (photos folder) and the destination path (external disk folder), we can perform the sync.

First, we need to perform initial sync, by executing command below. This will copy all of the files in the source path to the destination path:

$ rsync -raz --progress ~/Pictures/Photos\ Library.photoslibrary /Volumes/Seagate\ Expansion\ 1/

Your photos now successfully backed up to the external disk storage.

However, for next time, if you want to do another sync, don’t run the previous command, as it will perform the full copy-paste again, which may took longer time to complete. Instead, do this:

$ rsync --update -raz --progress ~/Pictures/Photos\ Library.photoslibrary /Volumes/Seagate\ Expansion\ 1/

This command will compare files and their timestamps, so that only files with newer changes will be copied over, leaving unchanged files, which results in faster sync process.

When I perform initial sync of my Photos Library which is 98GB in size, it took about more than an hour to complete. When doing the subsequent sync, it only copies files that have changed or new files, which cut the time to under a minute.

Good thing about syncing the whole Photos Library is that all the photo metadata and the folder structure are stored together, so you can just double click the Photos Library in the external disk to view it 👍.

Share this post:
  • Share
  • Tweet
  • LinkedIn

Related posts:

  • Designing web page for Android webview
  • Turbogears 2.1 on Fedora
  • Android Popup Menu module for Titanium
  • session_regenerate_id() old data not copied to new session ID
  • SSH authorized_keys permission
  • Titanium iOS builder script
  • codesign failed: resource fork, Finder information, or similar detritus not allowed
  • Titanium Studio unbound classpath container error
  • Windows Phone app dev note
  • Load nib file in Titanium module iOS

Filed under Tech with tags rsync

Post navigation

Previous Post Previous post:
Sejarah dividen KWSP
Next Post Next post:
Gaya hidup minimalis

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Media sosial

  • facebook
  • instagram
  • twitter
  • pinterest
  • youtube

Carian

Artikel popular

  • Saiz standard kayu, papan dan plywood
  • Pemasangan dinding plywood rumah kampung secara solo
  • 3 Jenis Asas Sistem Hidroponik Yang Digunakan Dalam Akuaponik Serta Variasinya
  • Kepincangan dalam menggunakan paip PVC sebagai saluran NFT hidroponik
  • Cara membuat sistem NFT untuk akuaponik – Saliran masuk
  • Cara pasang pintu rumah
  • Jenis skru kayu
  • Pemasangan pagar reban ayam kampung

Artikel terkini

  • 2 video #emau dari 2020/0221 February 2020
  • Gaya hidup minimalis14 February 2020
  • How to sync Mac OS Photos Library to an external disk storage17 January 2020
  • Sejarah dividen KWSP10 January 2020
  • Sejarah dividen Tabung Haji10 January 2020
  • Sejarah dividen ASB10 January 2020
  • Selamat dekad baru 2020-an3 January 2020
  • Dashcam Drive #17 – Taman Danu Serian → Ranchan Recreational Park1 January 2020

Tag

1N2D Akuaponik Android Apache Ayam Kampung Bash C# Cache Cili CommonJS Controller Dashcam Drive E-mau Fedora Fotografi Git Gnome Happy Together Hidroponik Idea Invincible Youth iOS Java Javascript Ke Indonesia Ke Kita? Ke Jepun Ke Kita? Ke Korea Ke Kita? Kewangan ListView Makanan Mr. Bean PHP Python Rant Roundtable Plus RPM Rumah Kampung Star Golden Bell Subversion SVN Titanium Mobile Titanium Module Titanium Studio windows phone WrestleMania

Arkib

Perihal

@azwan082

Seorang pembangun perisian (software developer) untuk peranti mudah alih (mobile devices) dan laman web, menggunakan bahasa pengaturcaraan Swift (iOS), Java (Android), PHP, MySQL dan Javascript (aplikasi web). Blog ini adalah tempat untuk saya berkongsi perkara, minat dan projek sampingan, seperti berkebun, kerja² kayu DIY, video dashcam drive dan pelbagai lagi.

© 2021 blog.azwan082.my

Back to top
sponsored