computers:tricksandtips
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| computers:tricksandtips [2025/06/27 17:50] – [Grub Boot Parameters] david | computers:tricksandtips [2026/01/15 15:30] (current) – [Directory Sync with Unison] david | ||
|---|---|---|---|
| Line 342: | Line 342: | ||
| ====== Networking ====== | ====== Networking ====== | ||
| + | ===== Directory Sync with Unison ===== | ||
| + | |||
| + | - Install on both machines< | ||
| + | sudo apt install unison | ||
| + | </ | ||
| + | - Set up Passwordless SSH < | ||
| + | ssh-keygen -t rsa -b 4096 | ||
| + | ssh-copy-id user@remote_host | ||
| + | </ | ||
| + | - Command to sync directories < | ||
| + | unison / | ||
| + | </ | ||
| + | - Creating a Sync Profile < | ||
| + | # Root directories to sync | ||
| + | root = / | ||
| + | root = ssh:// | ||
| + | |||
| + | # Automatic settings | ||
| + | auto = true # Skip prompts for non-conflicting changes | ||
| + | batch = true # Do not ask any questions at all | ||
| + | times = true # Preserve modification times | ||
| + | |||
| + | # Paths to ignore (supports globs) | ||
| + | ignore = Name {.git, | ||
| + | ignore = Path build | ||
| + | </ | ||
| ===== rsync limiting bandwidth ===== | ===== rsync limiting bandwidth ===== | ||
computers/tricksandtips.1751046601.txt.gz · Last modified: by david
