diff options
author | Ivan Kohler <ivan@freeside.biz> | 2014-08-08 01:19:15 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2014-08-08 01:19:15 -0700 |
commit | 40fa8913b5f453adee575b2bae03d745674ace76 (patch) | |
tree | d23e7fcc92d048b55569a35110fd4812721f034d | |
parent | b4d1207f9b9d873e6c660682735151d1fdf89bd5 (diff) |
fix file selection for aradial usage import, RT#29053
-rwxr-xr-x | bin/aradial-sftp_and_import | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |