I am getting tired to copy all data files, which are important for me, into other account or USB stick, since the copy process takes a long time. There are definitely better ways to do so.
Rsync is one of them.
rsync --verbose --progress --stats --recursive --times --perms --links --human-readable --exclude "*bak" --exclude "*~" --exclude "*#" --exclude "*_old.eps"
rsync --verbose --progress --stats --recursive --times --perms --links --human-readable -e ssh --exclude "*bak" --exclude "*~" --exclude "*#" --exclude "*_old.eps"
and want to do backup my data using rsync. By using fdisk /dev/sda, I clean unnecessary files which were in the Maxtor OneTouch 4 Mini. (
And made the script to do so.
less..
#!/bin/sh
# http://www.samba.org/ftp/rsync/rsync.html
BACKUPDEST="/media/usb-backup/ "
EXCLUDES="--exclude-from=$HOME/documents/r_sync/rsync_excludes "
OPTIONS=" --progress --stats --recursive --times --perms --copy-links --executability --human-readable --itemize-changes"
LIST="thesis programming simulation.linux geant4 documents "
for d in $LIST; do
rsync $OPTIONS $EXCLUDES $HOME/$d $BACKUPDEST/
done
less..