HxHippy
YTTWGH

Directory Sync Script

Synchronize directories using rsync.

Last updated: 2024-12-15

Directory Sync

#!/bin/bash
rsync -avhz --progress "${1:?source}" "${2:?dest}"
# Add --delete to remove files not in source
intermediateFile OperationsUpdated 2024-12-15
  • sync
  • rsync
  • backup
  • mirror
  • copy
/

search

posts, pages, knowledgebase

Search blog posts, pages and every knowledgebase guide, command and tutorial.