anandcp / big5sync

Automatically exported from code.google.com/p/big5sync
0 stars 1 forks source link

Does not appear to work (at least not with big folders containing sub-folders) #227

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Define tags
2.Bring two folders under the same tag
3.specify filters (inclusion/exclusion, different combinations)
4.preview the output

What is the expected output? What do you see instead?
According the the filter I had specified, I expected to see about 10 files to 
be copied from one folder to the other (one of the folders was originally 
empty). 
Instead I see a few hundred sub-folders (under the 'source' folder) being 
copied to the destination.

What version of the product are you using? On what operating system?
2.1. Running under Win XP Pro SP3.

Please provide any additional information below.
The behaviour varies depending on the filter specified. On one occasion, it 
actually worked correctly (only 6 files in 'source' folder, 'destination' 
folder was empty; 3 files ending in "~"; filters tried were *.*~ (inclusion) 
resulted in only the 3 files ending in "~" copied; changing the filter to 
exclusion (keeping the 'mask' the same) resulted in the remaining 3 files being 
copied (those without the "~" at the end)
In the case in which fails, the 'source' folder includes many sub-folders and 
about 15 files. I want to transfer to the 'destination' folder about 10 of 
those; they have some similarities in their filenames: they all start with 
"MPnotes." and they all end with ".rtf"; I set inclusion filter as: 
MPnotes*.rtf (also tried "MPnotes*", MPnotes*.rtf") and nothing worked: on each 
occasion, the preview showed several hundred (almost all of them folders) items 
ready to be copied.
The filter "*.*" as the only exclusion (no inclusions): preview shows 502 
sub-folders (incl. a few 'hidden' files) to be copied
The filter "Babylon" as the only exclusion (no inclusions; there was a 
sub-folder called exactly that, "Babylon") resulted in preview showing 2910 
items to be copied (!: must have been sub-folders and files this time; they 
included the sub-folder "Babylon" and all its sub-sub-folders and files!)
Could it be that the 'mask' is not applied to the names of folders but only to 
those of files?
One final question: does the mask work like regular expressions (in Unix, for 
example) or does it have different rules? For example I expect that the mask 
"abc*" will select the file "abcd"; will it also select the file "abcd.ef"??; 
how about the file "AbCd" (case sensitivity)?
Many thanks for any suggestions

Please paste the debug.log found in root Syncless folder(if any) below.
(Please
filter off any data that you do not want other people to see with "#")

Original issue reported on code.google.com by michalis...@mac.com on 17 Sep 2010 at 4:08