I have a cifs mounted file system. I also have a copy of that filesystem on the local computer. I was using FreeFileSunc to sync the two directories.
I noticed that FreeFileSync was not syncing the two directories. So I wrote a simple script to find all files on the local filesystem and test if the file existed on the cifs filesystem.
the statement if [ ! -f filename ]; then echo file filename missing fi
It reports that the file on the cifs filesystem is missing but if I do an ls -l on the file on the cifs file system it returns the filename.
I did notice that when doing an ls -l on the cifs filesytem it reports that all directories have a size of zero. where on the local system they have a file size of 4096 usually.
Any ideas why this is failing?
I noticed that FreeFileSync was not syncing the two directories. So I wrote a simple script to find all files on the local filesystem and test if the file existed on the cifs filesystem.
the statement if [ ! -f filename ]; then echo file filename missing fi
It reports that the file on the cifs filesystem is missing but if I do an ls -l on the file on the cifs file system it returns the filename.
I did notice that when doing an ls -l on the cifs filesytem it reports that all directories have a size of zero. where on the local system they have a file size of 4096 usually.
Any ideas why this is failing?
Statistics: Posted by rac8006 — 2024-03-01 00:28 — Replies 0 — Views 39