Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- rsync -avP --exclude=".*" /media/tom/1TB_ExtHD/Root_Tom_Newer/ /home/tom/Documents
- # https://www.computerhope.com/unix/rsync.htm
- # -a, --archive: archive mode; equals -rlptgoD (no -H,-A,-X)
- # -r, --recursive recurse into directories
- # -l, --links copy symlinks as symlinks
- # -p, --perms preserve permissions
- # -t, --times preserve modification times
- # -g, --group preserve group
- # -o, --owner preserve owner (super-user only)
- # -D same as --devices --specials
- # --progress: show progress during transfer
- # -n, --dry-run perform a trial run with no changes made
- # -v, --verbose increase verbosity
- # -P, same as --partial --progress
- # --ignore-existing
- # --exclude=".*": exclude dot hidden files
- # Understanding Discrepancy in Bytes Sent vs Bytes Received
- # https://sourceforge.net/p/luckybackup/discussion/873564/thread/90910b63/
Add Comment
Please, Sign In to add comment