If files or directory is inaccessible you need to normalize it from UTF-8 C (OSX) to D (Linux)
- Enable NFS on NAS
- Setup NFS permission on NAS for target directory
- From linux connect to NFS share (CentOS:
mount.nfs -w 192.168.1.100:/volume1/datastore/ /mnt/) - Install convmv tool (CentOS:
yum install convmv) - Open mounted directory
- Run command
convmv -r -f utf8 -t utf8 --nfc .(dry-run) - If
error (max: 255)appeared modify convmv (vi /usr/bin/convmv) variable $maxfilenamelength from 255 to 1024, then run previous command again - To perform converting run the command
convmv -r -f utf8 -t utf8 --nfc --notest .