@drwtsn32 Thanks for the the testing and info. Indeed I think you’re right this is the case, as I checked the direct cmd properties on my machine and they show the offline filter before download, but not after download (although I didn’t have your skills to write a C# surrogate executable). I do believe your fixes could work for the Windows Onedrive syncing functionality
@ts678 Thanks for all the references, that breadth is impressive. Here is the documentation I found for the attrib function https://ss64.com/nt/attrib.html .
If you wanted to delve a bit more into MacOSX side of the problem, I run both machines (so I can do some testing). I ran xattrib on an “offline” file and got the following return. Note: I haven’t tried using duplicati to sync onedrive files on Mac yet.
com.apple.FinderInfo
com.apple.LaunchServices.OpenWith
com.apple.ResourceFork
com.apple.fileutil.PlaceholderData
com.apple.metadata:com_apple_backup_excludeItem
com.microsoft.OneDrive.RecallOnOpen
As for the files, I’ve never backed up the files before with Duplicati. It started downloading 700GB when I tried to schedule and so I stopped the process. The desired behavior here being that it backups up a direct copy of the harddrive state (i.e. backup up download files and backup up placeholder onedrive files where applicable, just how I imagine a harddrive clone would work). I think @ts678 's solution will work, and will report testing results back once the PR is integrated.
As for filesystem walks and scripts for --changed-files: I think this could be an option for me, however, I’m trying to use Duplicati to backup some colleagues PC’s to a local server, and the low level of technical capability would likely be inhibitory for this route