From: Ivan Kohler Date: Fri, 8 Aug 2014 08:18:58 +0000 (-0700) Subject: fix file selection for aradial usage import, RT#29053 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=bc6393f0c5d8d3c797a22ed0280f18fe3ff32210 fix file selection for aradial usage import, RT#29053 --- diff --git a/bin/aradial-sftp_and_import b/bin/aradial-sftp_and_import index 13067123f..923c674ba 100755 --- a/bin/aradial-sftp_and_import +++ b/bin/aradial-sftp_and_import @@ -85,7 +85,7 @@ elsif($opt_m eq 'sftp') { $ls_sftp->setcwd($opt_r) or die "can't chdir to $opt_r\n" if $opt_r; - $ls = $ls_sftp->ls('.', wanted => qr/^$.*\.$/i, + $ls = $ls_sftp->ls('.', no_wanted => qr/^\.+$/, names_only => 1 ); } else {