Move lots of files using rsync for fun and profit
Backup one directory to another, recursively
$rsync -r /path/of/source /path/to/backup
Now, that’s fine and dandy if you’re working on a local machine but if you’re moving stuff remotely you need some extra help from nohup. Nohup is a command that means “no hang up”, as in, even if your session is disconnected nohup will keep running. You’ll also need anĀ ampersandĀ to deal with any output.
Backup directory recursively, perserving permissions, and ignoring terminal disconnects.
$nohup rsync -ra /path/of/source /path/to/backup &
Using this command with sudo is a bit tricky, you can’t just throw a sudo infront of it and let it run. Instead you have to do two commands
$sudo -i
#nohup rsync -ra /path/of/source /path/to/backup &
Personal Web Filtering Options
HTC – You Owe it To Us
Solar Power Still Sucks in a Big Way
Unable to Comment on Google Reader -fix it!
TodayWasAwesome – Best Of
This is a bit tricky but hey, I wanna try this one out
- spam
- offensive
- disagree
- off topic
Like