computers:tricksandtips
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| computers:tricksandtips [2026/01/15 15:10] – [rsync limiting bandwidth] david | computers:tricksandtips [2026/01/15 15:30] (current) – [Directory Sync with Unison] david | ||
|---|---|---|---|
| Line 347: | Line 347: | ||
| sudo apt install unison | 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.1768489813.txt.gz · Last modified: by david
