How to sync folders on a cifs mount
by rac8006 from LinuxQuestions.org on (#5A08J)
How does one sync folders between two Linux boxes. When you mount a ext2 partition on a Linux box using cifs. There are problems with files names with : in the name. There are problems with uppercase and lower case filenames.
I used cp -rp to copy files from one system to the other system. When I did this I ended up with more files on the destination system than was on the source system. Most of these additional files were found in the terminfo folders where the p files were also copied to the P folder.
Not what kind of utility or script to verify if the copy ended up with the correct files. When you try to run a script the script has the same problem with the uppercase and lowercase filenames.
How is this normally handled?


I used cp -rp to copy files from one system to the other system. When I did this I ended up with more files on the destination system than was on the source system. Most of these additional files were found in the terminfo folders where the p files were also copied to the P folder.
Not what kind of utility or script to verify if the copy ended up with the correct files. When you try to run a script the script has the same problem with the uppercase and lowercase filenames.
How is this normally handled?