projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
optimize legacy CCH taxation, RT#74494
[freeside.git]
/
bin
/
cdr-thinktel.import
diff --git
a/bin/cdr-thinktel.import
b/bin/cdr-thinktel.import
index
ccbd78c
..
9afd34c
100755
(executable)
--- a/
bin/cdr-thinktel.import
+++ b/
bin/cdr-thinktel.import
@@
-52,7
+52,8
@@
$ftp->login($login, $password)
warn "Retrieving directory listing\n" if $opt_v;
$ftp->cwd('/');
-my @files = $ftp->ls();
+my @files = grep { $_ =~ /MetaSwitch/ } $ftp->ls();
+
warn scalar(@files)." CDR files found.\n" if $opt_v;
# apply date range
if ( $opt_a ) {