X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=bin%2Faradial-sftp_and_import;h=0cb6bca3a840d27e20caa2e1cd94d33252dbcf49;hb=7f1bc9c18dc4a2cd1c9a8f972c3107821af0e649;hp=b0878e277825f9882f9a93502e20f5ccaa79a299;hpb=abb2295df3d5a81ed6482b1e18f82bf454d242e5;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