X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=bin%2Faradial-sftp_and_import;h=0cb6bca3a840d27e20caa2e1cd94d33252dbcf49;hb=eb2d0374cea8e7a2f2d2066115bbc3ca901ab574;hp=b0878e277825f9882f9a93502e20f5ccaa79a299;hpb=d979d53c0a6fdec99bfd3bf9c6b246b14c101507;p=freeside.git diff --git a/bin/aradial-sftp_and_import b/bin/aradial-sftp_and_import index b0878e277..0cb6bca3a 100755 --- a/bin/aradial-sftp_and_import +++ b/bin/aradial-sftp_and_import @@ -65,7 +65,7 @@ our %status_type = ( ### use vars qw( $opt_m $opt_a $opt_b $opt_r $opt_d $opt_v $opt_P ); -getopts('m:abr:dP:v:'); +getopts('m:abr:d:P:v:'); my %options = (); @@ -127,6 +127,8 @@ else { foreach my $filename ( @$ls ) { + next if $opt_d && $filename eq $opt_d; + warn "Downloading $filename\n" if $opt_v; #get the file