Lightroom Catalog Sync Between Mac and PC on Network Drive

Yo! This is my first technical post. So let’s do something we want to do but you cannot google the solution on the Internet.

Most of the photographers use Lightroom. I am no exception. I love the way Lightroom organise your photos and how simple it is for the post work. I was a 100% Photoshop guy before, but now I go for Photoshop only when Lightroom does not offer some advanced retouching and other advanced features like multiple exposure.

But I am very annoyed by the way Adobe handle Lightroom catalog. Lightroom catalog stores the organisation structure, metadata, and even those non-destrutive adjustments (by default) of your photos. You definitely want to sync it between your computers, so that you need not import your photos again when you go from your PC to your laptop.

Adobe advised that you sync the catalog using an external drive. It works, but there are some problems:

  • Plug and play is good, but plugging USB cable frequently from one computer to another is not “play”.
  • No auto backup of the catalog and the photos and videos, which rank only the second you don’t want to lose just after your family and friends (and perhaps wealth).

I searched the Internet and found lots of frustrated Lightroom users annoyed by that. I thought of other solutions, but they didn’t really work:

  • Sync catalog and media using Dropbox or other cloud sync solutions
    Media collection is gigantic. Tons of 4k videos and raw photos. I don’t think even the most expensive plan Dropbox offer can accommodate such capacity.
  • Put catalog and media on a network drive (eg. shared folder on a Network-attached Storage, NAS)
    A picture is worth a thousand words:
    lightroom_catalog_sync_1
  • Sync catalog using Dropbox or other cloud sync solution, and reference media stored on network drive
    It works if all your computers are PC, or all are Mac, but not a mix. The reason is Lightroom stores the media location in the catalog as absolute path if the catalog and the media belong to different root volumes. So if you import photos in Windows, they will have a path like “\\NAS01\Media” or “Z:\Media”. When you open Lightroom in your Mac, all files go “missing”, because Lightroom expects the media folder in path like “\\NAS01\Media” or “Z:\Media”, but indeed the folder is in “/Volume/Media/”. When you update the folder location in Mac, all media go “missing” in your PC again.

OK, so we need to put the media files and the catalog next to each other, and perhaps Lightroom may be “smart” enough to locate the files using relative path. We also want to put them on a high-speed connected network drive (NAS), so that we can have a common place to access on our PCs and Macs, plus the files are automatically and regularly backuped to external drives and cloud. But how do we solve the problem of Lightroom not letting us put the catalog on a network drive?

Well, we fake it. Let it think the catalog is on a local drive instead of a network drive. And the answer is virtual hard disk.

  1. On Windows, go to Start menu and search for "Disk Management".
    On Windows, go to Start menu and search for “Disk Management”.

    Disk Management window appears.
    Disk Management window appears.
  2. In the menu bar, click "Action" -> "Create VHD".
    In the menu bar, click “Action” -> “Create VHD”.
  3. Select the network drive path as the location. (I saved it to my Desktop, and moved the file to the network drive.) Choose either VHD or VHDX. I chose VHDX because I have no PC having Windows 8 or older. Choose the recommended setting for "virtual hard disk type".
    Select the network drive path as the location. (I saved it to my Desktop, and moved the file to the network drive.) Choose either VHD or VHDX. I chose VHDX because I have no PC having Windows 8 or older. Choose the recommended setting for “virtual hard disk type”.
  4. At the bottom of the panel, a new disk is created. The virtual hard disk file is also created at the location you selected in the previous step.
    At the bottom of the panel, a new disk is created. The virtual hard disk file is also created at the location you selected in the previous step.
  5. Right click on the drive, select "Initialize Disk".
    Right click on the drive, select “Initialize Disk”.
  6. Choose GPT.
    Choose GPT.
  7. Right click on the area with the black top bar. Select "New Simple Volume".
    Right click on the area with the black top bar. Select “New Simple Volume”.
  8. Next.
    Next.
    Next.
    Next.
    Assign a drive letter to your virtual hard disk.
    Assign a drive letter to your virtual hard disk.
    Select exFAT for compatibility with Mac.
    Select exFAT for compatibility with Mac.

    Finish!
    Finish!
  9. Remember to move the virtual hard disk file to the network drive.
    Remember to move the virtual hard disk file to the network drive.
  10. On your Mac, download Paragon VMDK Mounter. It is free, and allows you to mount a VHDX drive on Mac.
  11. Mount your virtual hard disk by double clicking on the VHDX file.
    Mount your virtual hard disk by double clicking on the VHDX file.

    Copy the catalog and the media files to the drive.
    Copy the catalog and the media files to the drive.

There you have it! You can now use the same catalog file on your PC and Mac. They take no space on your local drive, and they are automatically backuped regularly with your network drive backup solution. Just don’t open the catalog simultaneously on multiple computers, Lightroom doesn’t like it (and I think an error will be shown).

Have fun! 🙂

嗨-from AdrianTang.COM

話說兩年前註冊域名時,adriantang.com 給一位仁兄註冊了,唯有退而求其次,註冊了 adriantanghk.com。

上個月發現 adriantang.com 的主人沒有 renew,域名進入了 redemptionPeriod 階段,我便留意著。5、6 日前進入了pendingDelete 階段,就確定了 adriantang.com 的主人沒有 renew。

結果今晨 ~7am 我註冊了成為 adriantang.com 的新主人!說真的,可以註冊自己名字的域名而且是 .com 真叫人興奮!大家聯絡我也可以用我的新 email:[email protected]! LOL

把所有的東西都陸續搬了過來,舊的 adriantanghk.com 會繼續保留,直到到期。到期前 adriantanghk.com 的網頁會自動導航過去 adriantang.com 的。

(唉,職業病,把 adriantanghk.com 的東西搬去 adriantang.com 的感覺和做法很像在公司寫程式 deprecate 程式碼⋯⋯ 感覺不爽⋯⋯)

iPad Air

1/11 蘋果出 iPad Air,第一時間去攞。

講真,感覺今次升級唔係咁吸引,如果唔係舊嗰部 iPad 3 粒 Home 摯開始有問題都未必買。

iPad Air 盒
iPad Air 盒
有啲人話蘋果自從 Steve Jobs 去世以後慢慢失去創新的基因,我部分同意,但係個盒嘅設計感覺係時候要改變一下喇 左:iPad Air;右:iPad 2
有啲人話蘋果自從 Steve Jobs 去世以後慢慢失去創新的基因,我部分同意,但係個盒嘅設計感覺係時候要改變一下喇
左:iPad Air;右:iPad 2
有啲人話蘋果自從 Steve Jobs 去世以後慢慢失去創新的基因,我部分同意,但係個盒嘅設計感覺係時候要改變一下喇
有啲人話蘋果自從 Steve Jobs 去世以後慢慢失去創新的基因,我部分同意,但係個盒嘅設計感覺係時候要改變一下喇
盒一打開,主角出現喇
盒一打開,主角出現喇
配件和迷你說明書
配件和迷你說明書
甚至裏面都冇乜改變
甚至裏面都冇乜改變
主角正面
主角正面
明顯睇倒 iPad Air 邊框比 iPad 2 窄好多 左:iPad Air;右:iPad 2
明顯睇倒 iPad Air 邊框比 iPad 2 窄好多
左:iPad Air;右:iPad 2
iPad Air 其實係薄左,不過對我嚟講又唔重要,太薄反而難揸乍,手感才是最重要 左:iPad Air;右:iPad 2
iPad Air 其實係薄左,不過對我嚟講又唔重要,太薄反而難揸乍,手感才是最重要
左:iPad Air;右:iPad 2
選擇咗 Smart Cover Product Red
選擇咗 Smart Cover Product Red
Smart Cover 包裝背面
Smart Cover 包裝背面
我覺得好靚 wor XP
我覺得好靚 wor XP
我覺得好靚 wor XP
我覺得好靚 wor XP

好,講啲相睇唔倒嘅嘢先。其實今次 iPad AIr 升級,最明顯都係更輕、更薄更小、更快。

iPad Air 的確比 iPad 2 – 4 輕好多,相信話唔係好輕嘅人以前冇用過 iPad 或者同 iPad 大小相若嘅平板電腦。喺我一喺個盒攞出嚟嗰刻已經強烈感覺倒 iPad Air 輕咗好多。但係,之後用過,單手揸住睇戲,始終都係會攰,建議女士都係選擇 iPad Mini 比較好,除非有特別需要,例如好似我咁眼盲。 LOL

至於速度,的確比上幾代 iPad 有顯著嘅提升。網上已經有好多測試,發現蘋果聲稱比 iPad 4 快 2 倍所言非虛。我用過幾個鐘以來,絕少碰到窒嘅情況,印象最深窒嘅一次反而係蘋果個 app Game Center,一般開 app 非常迅速。網上有人測試話,1 分鐘嘅短片用 iMovie 做 rendering 嘔個 1080p 嘅 video 只需 10 秒,當初我都半信半疑,不過自己測試後發現差不多,表現十分驚人。感覺上 iPad Air 嘅速度提升好大。(註:iPad Air 同 iPhone 5s 一樣用 A7 處理器,不過 iPad Air 嘅 A7 處理器較快,時脈比 iPhone 5s 快 100 MHz)

相機方面冇特別升級。前面個相機蘋果聲稱用更大嘅 pixel,照片質素會提高。可能本身前面拍攝個質素都係麻麻,感覺冇乜特別進步。值得留意嘅係 iPad Air 多咗個收音,可以做倒減低噪音嘅效果,理論上拍片音訊方面應該會好好多,不過我未詳細試過,呢度不作評論。

喇叭改為兩個,一左一右,感覺上質素好咗之餘,聲音變得更加立體。不過當開住喇叭播片時,手指摸上去個 mon 度震咗好多,可以幫你手指做埋按摩。 LOL

電池導航能力方面,雖然 iPad Air 嘅電池容量比 iPad 4 少咗一大部分(輕薄嘅代價,對,輕薄係有代價嘅 XP),不過電池可用時間不減反增。

呢段時間我開曬 WiFi,打機上網睇片播歌,9.5 個鐘(已撇除 sleep 嘅時間)都仲淨翻 35% 電,按比例計,叉一次電可以用多過 14.5 個鐘
呢段時間我開曬 WiFi,打機上網睇片播歌,9.5 個鐘(已撇除 sleep 嘅時間)都仲淨翻 35% 電,按比例計,叉一次電可以用多過 14.5 個鐘

總的來說,我覺得 iPad Air 最大嘅賣點係輕好多快好多,如果你用梗 iPad 3 手頭又比較鬆,升級係值得嘅。如果你用梗 iPad 4,咁就要睇吓輕同快對你嚟講有幾大價值(對我而言,如果我有 iPad 4 我未必會升級,因為想見倒嘅指紋辨識系統等吸引功能欠奉,等下一代 iPad 先升級會比較值)。

最後講講我點解揀 iPad Air 唔揀 iPad Mini with Retina Display。除咗 iPad Air 有外觀升級外,我經常用 iPad Air 睇書睇片上網,屏幕大小對我嚟講好重要,相反我唔需要理會 iPad 嘅大小(反正都係塞入個袋度)同重量(而且差唔遠,女朋友左手捧 iPad Mini 右手捧 iPad Air 話唔覺有分別,唔好忘記 iPad Mini with Retina Display 比 iPad Mini 要重,thanks to the new Retina Display),加上 iPad Mini with Retina Display 供應好緊張,要同班果農爭,可能要 1 月倒先有得用。

So far 幾滿意,不過有種空洞嘅感覺,因為除咗快咗同輕咗外,冇新功能就好似同用梗舊嗰部 iPad 冇乜分別咁⋯⋯ LOL