Always copy source directory contents, not the directory itself

This commit is contained in:
2026-07-17 18:40:16 -04:00
parent 340370a43b
commit b2172145e7
3 changed files with 101 additions and 8 deletions
+6
View File
@@ -375,6 +375,9 @@ export default function SyncPairs() {
setForm({ ...form, source_path: e.target.value })
}
/>
<p className="text-xs text-fg-subtle">
Directory on the source machine. Its <span className="font-medium">contents</span> will be copied into the destination. Trailing <code className="font-mono">/</code> is optional.
</p>
</div>
<div className="space-y-1.5">
<Label htmlFor="sp-dest-path" required>
@@ -388,6 +391,9 @@ export default function SyncPairs() {
setForm({ ...form, dest_path: e.target.value })
}
/>
<p className="text-xs text-fg-subtle">
Directory on the destination machine where the source contents will land.
</p>
</div>
</div>
<div className="grid grid-cols-2 gap-3">