I have a directory of files that need to be copied every night as a backup.
I am using 'smbclient' to backup the files to a Linux machine but I am seeing an issue where if a file is locked the entire copy process will abort with a NT_STATUS_SHARING_VIOLATION error.
Is there any way to get smbclient to keep copying the rest of the files in the directory and gracefully skip over the locked files?