• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2024 Google LLC
2#
3# Use of this source code is governed by a BSD-style license that can be
4# found in the LICENSE file.
5
6import subprocess
7import sys
8
9args = sys.argv[1:]
10# Add '/*' to the source directory.
11args[-2] = args[-2] + '/*'
12
13# We can't use rsync to communicate with the chromebooks because the
14# chromebooks don't have rsync installed on them.
15cmd = ['scp', '-r'] + args
16print(subprocess.check_output(
17      ' '.join(cmd), shell=True).decode('utf-8'))
18