Adding fix to avoid rsync temp files

This commit is contained in:
2026-07-14 21:14:25 +02:00
parent 9abaa237f7
commit 60478e13a3
+2 -1
View File
@@ -31,7 +31,7 @@ _DOWN_EXCLUDES = [
"media/videos/narration_combined.mov",
"**/chunks/",
"*.tmp",
".DS_Store",
".*", # rsync in-progress temp files (.filename.XXXXXX) and .DS_Store
]
@@ -390,6 +390,7 @@ def cmd_down(project_path: Path, verbose: bool, dry_run: bool) -> int:
rsync_shared_cmd = [
"rsync", "-av", "--progress",
"-e", f"ssh -p {server['port']}",
*[f"--exclude={p}" for p in _DOWN_EXCLUDES],
f"{server['user']}@{server['host']}:{remote_shared}/",
f"{local_shared}/",
]