Transfer files from macOS via rsync. Best way?

mikael

Dabbler
Joined
Feb 9, 2018
Messages
18
Hi! I want to transfer files from macOS to TrueNAS. Transfer is initiated from the Mac. The drive is an external drive with the "Mac OS Extended (Journaled)" filesystem.

The below line results in errors as it tries to set permissions:
Code:
rsync -ah --iconv=utf-8-mac,utf-8 --info=progress2 /Volumes/sourcedrive/ user@IP:/mnt/data/data/


What would be the best way to make a transfer that is as complete as possible. Would the below line be enough?
Code:
rsync -rth --iconv=utf-8-mac,utf-8 --info=progress2 /Volumes/sourcedrive/ user@IP:/mnt/data/data/
 

mikael

Dabbler
Joined
Feb 9, 2018
Messages
18
Perhaps I should also add that I'd like to preserve file and directory create dates. Using --crtimes when running from rsync (3.2.7) from the Mac results in "rsync: The server does not support --crtimes (-N)". I'm on TrueNAS Core 13-U3.
 
Top