Page 2 of 2

Re: Syncovery 9.46p

Posted: Tue Mar 15, 2022 12:12 am
by ldavis
The test case is that I'm syncing my home folder on two hosts. On both, there is a folder at the relative path "Library/PDF Services". Originally these folders had identical contents. As a test, I deleted the folder on the remote host only, then ran a two-way sync, left (local) <-> right (remote). The sync dialog showed that the folder was missing on the right. I copied it from left to right. The folder was recreated on the right, but it was empty. Repeated syncs show nothing missing at that path. What I expected is that the contents of the folder, as well as the folder itself, would be copied, left to right.

An edit of the log is attached.

Re: Syncovery 9.46p

Posted: Tue Mar 15, 2022 9:09 am
by tobias
Hello,
thanks for the log! Can you give me a few file names which are in that folder?

I need to check if they are possibly excluded by your long list of exclusions.

A useful tool to check your masks is to run the job in Attended Mode and click "Show All" in the top left corner of the Sync Preview. Then you will see all files, even those which do not need copying. In this case, I think you will not see the files in that folder, because they are somehow excluded from the Sync. So it's not a SmartTracking or logic issue. Just an issue with masks or filters.

Re: Syncovery 9.46p

Posted: Tue Mar 15, 2022 2:51 pm
by ldavis
Can you give me a few file names which are in that folder?
Save PDF to DEVONthink 3
Save PDF to Scrivener

The first one is a symbolic link. The second one has an empty data fork, but a nonempty extended attribute. That may be why the app doesn't copy it.

Re: Syncovery 9.46p

Posted: Tue Mar 15, 2022 3:33 pm
by tobias
Hi,
OK I can see these two names in the log, so they are not excluded.

But the part where the SmartTracking logic is logged was cut out.

If you choose only "SmartTracking Details" and not "File List Building Details", then the log file will be much shorter and not contain all file names, but will contain SmartTracking details about the few files which are different on the two sides.

Re: Syncovery 9.46p

Posted: Tue Mar 15, 2022 5:39 pm
by ldavis
Strangely, this time the regular file was copied, but its extended attribute was stripped, and the symbolic link was still missed. I don't remember changing any settings since the last run, except for the log.

Code: Select all

...

File /Library/PDF Services/Save PDF to Scrivener
 Lexists=TRUE Rexists=FALSE, Lexistchanged=FALSE Rexistchanged=FALSE, CopyMode now:cmLeftToRight
 Lmodified=TRUE, LoldTime=3/14/22 07:52:14, LnowTime=3/15/22 07:49:34, LoldSize=0, LnowSize=780
 Rmodified=FALSE, RoldTime=unknown, RnowTime=unknown, RoldSize=0, RnowSize=0

...

4147. DDL R  1 00080000/0000000000000000/00 cmUndetermined: PDF Services (/Library) [PDF Services]
4148.   L r  2 00000000/0000000000000000/00 cmNot         : Save PDF to DEVONthink 3 (/Library/PDF Services) [Save PDF to DEVONthink 3]
4149.   L r  2 00000000/0000000000000000/00 cmLeftToRight : Save PDF to Scrivener (/Library/PDF Services) [Save PDF to Scrivener]

...

4147. DDL R  1 00080002/0000000020000000/04 cmUndetermined: PDF Services (/Library) [PDF Services]
4148.   L r  2 00000000/0000000000000000/00 cmNot         : Save PDF to DEVONthink 3 (/Library/PDF Services) [Save PDF to DEVONthink 3]
4149.   L r  2 00000000/0000000000000000/0C cmLeftToRight : Save PDF to Scrivener (/Library/PDF Services) [Save PDF to Scrivener]

...

Updating in DB: /Library/PDF Services
Considering for DB: /Library/PDF Services/Save PDF to DEVONthink 3
Updating in DB: /Library/PDF Services/Save PDF to DEVONthink 3
RENAME Working Copy To Save PDF to Scrivener
CheckEffectiveDestTimestamp for now L2R=TRUE, do L2R=FALSE, do R2L=FALSE
Copy L->R /Users/linc/Library/PDF Services/Save PDF to Scrivener  (0.8kB)
Updating in DB after action: /Library/PDF Services/Save PDF to Scrivener (cmLeftToRight),  LTime: 3/15/22 07:49:34, RTime: 3/15/22 07:49:34

...
On the left, I now have this:

Code: Select all

ls -l@ Library/PDF\ Services
total 8
lrwxr-xr-x  1 myname  staff   28 Feb 16 07:50 Save PDF to DEVONthink 3 -> /Applications/DEVONthink.app
-rw-------@ 1 myname  staff  780 Mar 15 07:49 Save PDF to Scrivener
	com.apple.FinderInfo	 32 
On the right I have this:

Code: Select all

ls -l@ Library/PDF\ Services
total 8
-rw-r--r--  1 myname  staff  780 Mar 15 07:49 Save PDF to Scrivener
It really is necessary to preserve extended attributes when copying files.

Re: Syncovery 9.46p

Posted: Tue Mar 15, 2022 8:00 pm
by tobias
Hello,
you need to use an afp network connection for these purposes. It's not possible via SFTP, or at least not implemented in Syncovery and no plans to do so. SMB might work too, but I'm not sure if extended attributes are implemented over SMB on macOS.

Re: Syncovery 9.46p

Posted: Tue Mar 15, 2022 8:10 pm
by ldavis
I see. Thanks.