I am trying to copy data from a Windows Server 2012 R2 to a QNAP NAS(ext4).
I use the /MIR switch and I want to keep the ACLs on files and sub-folders unchanged.
The problem is that the ACLs in the source folder and target folder are different. I tried something like that:
robocopy <source> <target> /MIR /copy:DATS /R:5 /MT:24 /W:1 /NP /ZB /M /V /XD *$RECYCLE.BIN*
also I have long path names it's over 290 C .
Note : no one in other communities gave me a good answer till now !