Cyberduck Mountain Duck CLI

#6285 closed defect (worksforme)

File Filter Regular Expressions Don't Work for Subdirectories when Synchronizing

Reported by: cgieringer Owned by:
Priority: normal Milestone:
Component: core Version: 4.1.3
Severity: normal Keywords:
Cc: Architecture:
Platform:

Description (last modified by dkocher)

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.

Change History (2)

comment:1 Changed on Oct 2, 2011 at 11:10:23 AM by dkocher

  • Description modified (diff)

comment:2 Changed on May 9, 2012 at 10:12:38 AM by dkocher

  • Resolution set to worksforme
  • Status changed from new to closed

The regular expression configured looks fine, it should match any filename wether in a sub director or not. However, note that we do not delete files when synchronizing. I suppose you have previously uploaded these when the regular expression was not customized yet.

Note: See TracTickets for help on using tickets.
swiss made software