mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-23 21:52:18 +00:00
Use rsync rather than scp
This commit is contained in:
parent
802ef3c1ea
commit
6246523d5c
1 changed files with 2 additions and 1 deletions
|
|
@ -480,7 +480,8 @@ def main() -> None:
|
|||
else:
|
||||
shaders = sys.argv[1:]
|
||||
if shaders == ['upload']:
|
||||
cmd = ['scp'] + glob.glob(os.path.join(get_destdir(), '*.webm')) + ['dl1:/srv/download/videos/']
|
||||
cmd = ['rsync', '--info=progress2', '--checksum', '--compress'] + glob.glob(os.path.join(get_destdir(), '*.webm')) + ['dl1:/srv/download/videos/']
|
||||
print('Uploading changed demo video files...', flush=True)
|
||||
os.execlp(cmd[0], *cmd)
|
||||
try:
|
||||
for which in shaders:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue