Re: "Sync" sometimes does not delete folders

2016-10-17 Thread Dominique Devienne
On Mon, Oct 17, 2016 at 12:51 PM, Al Le wrote: > When synchronizing the dirs, we'd like to preserve some files. These files > have a certain local name. Hence we specify these files in the > 'preserveintarget' clause. > [...] What I observe is that the dir 'aaa' is not deleted because it > contai

Re: "Sync" sometimes does not delete folders

2016-10-17 Thread Al Le
Hello, I could track down the reason for the problem. Now I'd need an advice from experts how to solve it :-) When synchronizing the dirs, we'd like to preserve some files. These files have a certain local name. Hence we specify these files in the 'preserveintarget' clause. The problem is tha

Re: "Sync" sometimes does not delete folders

2016-09-18 Thread Al Le
Windows does not allow one to delete a file if there is a process that has an open handle to it Thank you for the hint! I'll check whether the dir is locked by a process. I do not know if the sync task checks if file deletions actually succeed. It is common for Java programs to not check the r

Re: "Sync" sometimes does not delete folders

2016-09-18 Thread Earl Hood
On Sat, Sep 17, 2016 at 5:05 PM, Al Le wrote: > But sometimes, after the sync, I see that dirs which do not exist on the > share are not deleted on the local file system. Instead, just the files in > the dirs are deleted. > > I still have not been able to track down when exactly it happens. Someti

"Sync" sometimes does not delete folders

2016-09-17 Thread Al Le
Hello, Sometimes I get a wrong result when using the task "sync". I try to synchronize a directory which is defined as a share on a windows system (source) to a local directory (target), i.e. the local dir should look like the share after the sync. But sometimes, after the sync, I see that d