Rsync

Computer/linux 2008.02.27 21:36
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" ~/thesis/* /media/usbstick/thesis/

rsync --verbose --progress --stats --recursive --times --perms --links  --human-readable -e ssh  --exclude "*bak" --exclude "*~" --exclude "*#" --exclude "*_old.eps" ~/thesis/* user@host:~/thesis

I bought small usb disk 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. (Datasheet for Maxtor OneTouch 4 Mini.)

And made the script to do so.

more..


rsync_excludes file is

more




'Computer > linux' 카테고리의 다른 글

Fn+volume raise,lower, and mute key binding with FVWM and amixer  (0) 2008.03.02
Rsync  (0) 2008.02.27
/usr/bin/X11/xauth: error in locking authority file  (0) 2008.02.08
modified xorg.conf file  (0) 2008.02.06
posted by citadel