chflags -R nochg ./
chflags -R nouchg /PATH/TO/DIRECTORY/WITH/LOCKED/FILES/
Reference: [[https://superuser.com/questions/40749/command-to-unlock-locked-files-on-os-x]]
====rsync between two locations====
rsync --remove-source-files -ahP /Volumes/4k-ext /Volumes/4k-nas1 2> ~/Documents/rSyncErrors.txt