projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24c01f6
)
Ticket #32088 Thinktel integration
author
Jeremy Davis
<jeremyd@freeside.biz>
Thu, 4 Dec 2014 14:54:10 +0000
(09:54 -0500)
committer
Jeremy Davis
<jeremyd@freeside.biz>
Thu, 4 Dec 2014 14:54:10 +0000
(09:54 -0500)
bin/cdr-thinktel.import
patch
|
blob
|
history
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 ) {