]> bicyclesonthemoon.info Git - ott/bsta-tools/commitdiff
options for scp main
authorb <rowerynaksiezycu@gmail.com>
Sat, 29 Mar 2025 20:52:08 +0000 (21:52 +0100)
committerb <rowerynaksiezycu@gmail.com>
Sat, 29 Mar 2025 20:52:08 +0000 (21:52 +0100)
upload.1.pl

index 9fad7108ccc52a96e731736c386b6a8ff94a6b48..cb65324ad05a3f789c9af6168ff587d5b048431b 100644 (file)
@@ -434,7 +434,7 @@ foreach my $upload (@upload_list) {
                }
        }
        else {
-               my @cmd = ('scp', 'scp', $upload->{'local_path'}, $remote_server_path);
+               my @cmd = ('scp', 'scp', '-q', '-p', $upload->{'local_path'}, $remote_server_path);
                $r = system_encoded(@cmd);
                unless ($r == 0) {
                        print STDERR 'didn\'t upload '.$remote_server_path."\n";