SyncIgnore and Lightroom lrdata


Paitum

Recommended Posts

I wish to sync my Photos and Lightroom Catalog files. The problem is Lightroom creates a cache directory along-side of the Catalog. So my directory looks like:

 

C:\Media\Catalogs\MyCatalog.lrcat

C:\Media\Catalogs\MyCatalog Previews.lrdata\*

C:\Media\Pictures\20131013\*

C:\Media\Pictures\20131014\*

C:\Media\Pictures\20131015\*
etc.
 
I have a BTSync directory at C:\Media\Catalogs, and all I want to sync are the *.lrcat files. I have been trying to ignore the *.lrdata directory using the .SyncIgnore file, but I have been unsuccessful. After reading online, and performing experiments, I realize that I am not alone.
 
I feel like one of these should work:
*.lrdata
*.lrdata/*
/*.lrdata
/*.lrdata/*
 
Question 1: What .SyncIgnore pattern would help me exclude all *.lrdata subdirectories.
 
Question 2: Do I need to restart BTSync for changes in .SyncIgnore to get picked up?
 
Question 3: Can I use forward-slash '/' in Windows? Do backslashes '\' need to be escaped '\\'?
 
Thank you.
 
 
 

 

Link to comment
Share on other sites

I tried to figure out which of the following rules was working, but I didn't have time, because every time I restart BTSync it syncs all my shares which include some very slow network file shares. And I believe that BTSync must be restarted for SyncIgnore changes to go into effect.

 

I am using the following, which is working for me.

 

*.lrdata
*.lrdata/*
*.lrdata\*
\*.lrdata
/*.lrdata
\*.lrdata\*
/*.lrdata/*
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.