rsync
1.1. root ±ÇÇÑ ÇÊ¿äÇÑ ÆÄÀÏ µ¿±âÈ ÇÒ ¶§ ¶µÎ °¡Áö ¹æ¹ýÀÌ ÀÖ´Ù.
1.2. ¿ø°ÝÁö µð·ºÅ丮 ½Éº¼¸¯ ¸µÅ©¸¦ À¯ÁöÇÏ°í ½ÍÀº °æ¿ì ¶-K ¿É¼ÇÀ» »ç¿ë, -a ¿É¼ÇÀ» ¾²¸é ¾È µÇ±â ¶§¹®¿¡ -urvK µîÀ¸·Î »ç¿ëÇØ¾ß ÇÑ´Ù.
1.3. µ¿±âÈÇÒ ¸ñ·ÏÀ» Ç¥ÁØ ÀÔ·ÂÀ¸·Î ¹Þ°í ½ÍÀº °æ¿ì ¶<del>files-from ¿É¼ÇÀ» È°¿ë, </del>files-from=- ÀÌ·¸°Ô ¾²¸é µÈ´Ù.
ls /home | rsync -av --files-from=- /home /var
2. ssh·Î rsync ÇÒ ¶§ Æ÷Æ® ¹øÈ£ ÁöÁ¤ÇÏ´Â ¹æ¹ý ¶2222¹ø Æ÷Æ®¸¦ »ç¿ëÇÒ °æ¿ì
--rsh='ssh –p2222'
¿¹¸¦ µé¸é
rsync -avz --progress --rsh='ssh –p26' /home/ /var/
3. rsync ¼ÓµµÁ¦ÇÑ ¶--bwlimit=KBPS limit I/O bandwidth; KBytes per second rsync -avz --bwlimit=100 --progress --rsh='ssh –p22' /home/ root@kldp.org:/
4. ÀÎÄÚµùÀÌ ´Ù¸¥ ½Ã½ºÅÛ³¢¸® µ¿±âÈÇÒ ¶§ ¸ÖƼ¹ÙÀÌÆ®(ÇѱÛ) ±úÁö´Â °æ¿ì ¶ÀÎÄÚµùÀ» ÁöÁ¤ÇØÁÖ¸é µÊ
--iconv=CONVERT_SPEC request charset conversion of filenames
ÀÌ ¿É¼ÇÀº ÀÏÁ¤ ¹öÀü ÀÌ»ó µÇ¾î¾ß ÀÖÀ½(Á¤È®ÇÑ ¹öÀüÀº ¡¦¸ð¸£°ÚÀ½)
rsync –av --iconv=utf-8,cp949 /home/ root@:b.com:/home/
¿©·¯ °³ ÀûÀ» ¼ö ÀÖ´Ù. ÀÌ °æ¿ì utf-8À» ¾²´Â a.com¿¡¼ cp949¸¦ ¾²´Â b.comÀ¸·Î ½ÌÅ©¸¦ ÇÏ´Â ¹æ¹ý (¡¦ ¹Ý´ë ÀÏ ¼ö ÀÖÀ½)
|
"It seems strange to meet computer geeks who're still primarily running Windows... as if they were still cooking on a wood stove or something." - mbp |