Skip to content

Instantly share code, notes, and snippets.

@meerzulee
Created September 29, 2025 16:48
Show Gist options
  • Save meerzulee/d711844261d755bb08efe9aac01c60a4 to your computer and use it in GitHub Desktop.
Save meerzulee/d711844261d755bb08efe9aac01c60a4 to your computer and use it in GitHub Desktop.
sudo rsync -aAXH --numeric-ids --delete \
--exclude='/dev/*' \
--exclude='/proc/*' \
--exclude='/sys/*' \
--exclude='/run/*' \
--exclude='/tmp/*' \
--exclude='/var/tmp/*' \
--exclude='/var/cache/**' \
--exclude='/lost+found' \
--exclude='/mnt/*' \
--exclude='/media/*' \
/ /mnt/ehdd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment