Skip to content

, ,

beloved command line for sync

September 20, 2014

With all machines running some version of *IX, the command line and rsync are the best to keep files synched between different medias. Or copying all the stuff under /home to an external drive or storage quickly. Something like:

scasagra@umabotMint /media/scasagra/FreeAgent Drive/backup.asus15 $ sudo rsync -azv /home/ .

2 small tricks here:

  1. if using an external USB drive in Linux cd to /media/<your user>/<name of the USB drive> #to find the name you can sudo mount and check what’s mounted at /dev/sdb1 (or /dev/sdb2)
  2. run with sudo if you plan to copy all files and users under the directory /home

From → linux, OS

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: