[Cyberduck-trac] [Cyberduck] #6285: File Filter Regular Expressions Don't Work for Subdirectories when Synchronizing
Cyberduck
trac at trac.cyberduck.ch
Sun Oct 2 13:10:24 CEST 2011
#6285: File Filter Regular Expressions Don't Work for Subdirectories when
Synchronizing
------------------------+----------------------
Reporter: cgieringer | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: core | Version: 4.1.3
Severity: normal | Resolution:
Keywords: | Architecture:
Platform: |
------------------------+----------------------
Description changed by dkocher:
Old description:
> Hello,
>
> I am using these filters:
>
> Downloads:
>
> .*~\..*|\.DS_Store|\.svn|CVS|RCS|SCCS|\.git|\.bzr|\.bzrignore|\.bzrtags|\.hg|\.hgignore|\.hgtags|_darcs|settings_local\.pyc?|.*\.pyc
>
> Uploads:
>
> .*~\..*|\.DS_Store|\.svn|CVS|settings_local\.pyc?|.*\.pyc
>
> So basically I have added "settings_local\.pyc?", and ".*\.pyc" to the
> filters so that my compiled python and local settings are not
> transferred.
>
> When I perform a synchronization between my local folder and remote SFTP
> folder, these filters correctly remove all .pyc files from the root
> remote directory. In subdirectories, however, the .pyc and
> settings_local.py files still appear.
>
> To test if the problem was specific to my regular expressions, I tested
> against the first default regular expression ".*~\..*". I put a file
> called "test~.txt" into both the root remote directory and a remote
> subdirectory ("local/test~.txt"). The file did not appear in either
> location for download when I synchronized. This suggests that there is
> something particular to my regular expressions, but I think I have
> written them correctly.
>
> Thank you.
New description:
Hello,
I am using these filters:
Downloads:
{{{
.*~\..*|\.DS_Store|\.svn|CVS|RCS|SCCS|\.git|\.bzr|\.bzrignore|\.bzrtags|\.hg|\.hgignore|\.hgtags|_darcs|settings_local\.pyc?|.*\.pyc
}}}
Uploads:
{{{
.*~\..*|\.DS_Store|\.svn|CVS|settings_local\.pyc?|.*\.pyc
}}}
So basically I have added "settings_local\.pyc?", and ".*\.pyc" to the
filters so that my compiled python and local settings are not transferred.
When I perform a synchronization between my local folder and remote SFTP
folder, these filters correctly remove all .pyc files from the root remote
directory. In subdirectories, however, the .pyc and settings_local.py
files still appear.
To test if the problem was specific to my regular expressions, I tested
against the first default regular expression ".*~\..*". I put a file
called "test~.txt" into both the root remote directory and a remote
subdirectory ("local/test~.txt"). The file did not appear in either
location for download when I synchronized. This suggests that there is
something particular to my regular expressions, but I think I have written
them correctly.
Thank you.
--
--
Ticket URL: <http://trac.cyberduck.ch/ticket/6285#comment:1>
Cyberduck <http://cyberduck.ch>
Open source FTP, SFTP, WebDAV, Cloud Files, Google Docs & Amazon S3 Browser for Mac & Windows.
More information about the Cyberduck-trac
mailing list