Copying Files Between Sides¶
The directory comparison view lets you copy files and directories from one side to the other directly from the tree.
Warning
Copy operations write to disk immediately. There is no undo for directory copy operations.
Copying a Single File¶
- Hover over a file row in the tree. Copy buttons appear on the row.
- Click ▷ to copy the file from the left side to the right side.
- Click ◁ to copy the file from the right side to the left side.
The file is written to the corresponding path on the target side immediately.
Copying a Directory¶
Hover over a directory row. The same ▷ and ◁ buttons appear. Click either to copy the entire directory subtree recursively to the target side.
What "Copy" Means¶
Copying takes the file or directory from one side and writes it to the corresponding path on the other side. The target path is derived from the source path by substituting the root directory of the target side.
If a file or directory already exists at the target path, it is overwritten without confirmation.
After Copying¶
The row status updates immediately:
- An Added badge disappears once the file exists on both sides.
- A Changed badge is removed if the copied file makes both sides identical.
- If the file contents still differ (for example, due to a race condition with another process), the Changed badge remains.