Cyberduck Mountain Duck CLI

#3200 closed defect (worksforme)

Skip files matching regular expression does not work

Reported by: josephbeeson@… Owned by: dkocher
Priority: normal Milestone:
Component: core Version: 3.2
Severity: normal Keywords:
Cc: Architecture:
Platform: Mac OS X 10.6

Description

I use a file naming scheme to mark my test files in a website. For example, files that start with !tc_:

!tc_abs_layout.css
!tc_abs_layout.html
!tc_content.css
!tc_intro.html
!tc_rel_layout_CMSMS.html
!tc_rel_layout_ie6_screenshot.html
!tc_rel_layout.css
!tc_rel_layout.html

I do not want these files to be uploaded to the production website, so I have created an exclusion filter in Cyberduck. I know Perl, so the regular expression should not be the problem. I have tried:

.*~\..*|\.DS_Store|\.svn|CVS|^(\!tc_).*|\.psd
.*~\..*|\.DS_Store|\.svn|CVS|^\!tc_.*|\.psd
.*~\..*|\.DS_Store|\.svn|CVS|\!tc_.*|\.psd
.*~\..*|\.DS_Store|\.svn|CVS|!tc_.*|\.psd
.*~\..*|\.DS_Store|\.svn|CVS|!.*|\.psd

The trouble is, they upload.

Change History (4)

comment:1 Changed on Jul 26, 2009 at 12:58:54 PM by dkocher

If there is no red text in the regular expression you enter in the Preferences, the expression compiles. Also, from what I can see, the regular expression you provide should match the given filenames. The only reason I can see is that the regular expression setting is cached for a file transfer already added to the transfer window. Therefore, when testing, start a new transfer after editing the skip pattern.

comment:2 Changed on Jul 26, 2009 at 9:56:09 PM by josephbeeson@…

no red text appears in preferences. Have tried restarting Cyberduck, reconnecting to server. No change.

comment:3 Changed on Apr 1, 2010 at 4:19:24 PM by dkocher

  • Platform set to Mac OS X 10.6

It should be noted that the filter does not apply to files uploaded that are not within a directory hierarchy. Meaning that files explicitly choosen for upload are not filtered.

comment:4 Changed on Jul 23, 2010 at 4:37:14 PM by dkocher

  • Resolution set to worksforme
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.
swiss made software