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 9src = sys.argv[1] + '/*' 10dest = sys.argv[2] 11 12# We can't use rsync to communicate with the chromebooks because the 13# chromebooks don't have rsync installed on them. 14print(subprocess.check_output( 15 'scp -r %s %s' % (src, dest), shell=True).decode('utf-8'))