½ÃÀÛÆäÀÌÁö·Î Áñ°Üã±âÃß°¡
·Î±×ÀÎ
ȸ¿ø°¡ÀÔ l Ã⼮üũ l ¸¶ÀÌÆäÀÌÁö l CGIMALL
ÀÚ·á½Ç »çÀÌÆ®µî·Ï ·©Å·100 ÇÁ·Î±×·¥¸®ºä °ü¸®ÀÚÃßõÀÚ·á Ãʺ¸°¡À̵å
Ä¿¹Â´ÏƼ
Àüü ÆîÃ帱â
Äü¸Þ´º¸µÅ© jquery , CSS , PHP , Javascript , ¹«·áÆùÆ® , ASP
»ó¼¼°Ë»ö
Ȩ > Ä¿¹Â´ÏƼ > Áú¹®°ú´äº¯ »ó¼¼º¸±â
Ä¿¹Â´ÏƼ ±¸Àα¸Á÷
»çÀÌÆ®µî·Ï
Ŭ¶ó¿ìµåű×
Javascript
PHP
asp
CSS
html
mysql
jquery
image
Mobile
API
slide
°Ô½ÃÆÇ
¸Þ´º
ÇöÀçÁ¢¼ÓÀÚ ¸í »õ·Î°íħ
°Ô½ÃÆÇŸÀÌƲ Áú¹®°ú´äº¯ / »ó¼¼º¸±â
Æ®À§ÅÍ·Î º¸³»±â
Ãßõ¼ö 103 | Á¶È¸¼ö 2,928 | µî·ÏÀÏ 2004-08-06 12:28:17

´Ð³×ÀÓ

HappyCGI

À̸ÞÀÏ

webmaster@happycgi.com

Á¦¸ñ

[´äº¯] [Áú¹®]*.tar..
³»¿ë
[won1596´Ô ¿øº»±Û]
*.tar°°Àº ÆÄÀÏÀº ¾î¶»°Ô ¾ÐÃàÀ» Ç®ÁÒ?

ÇØÇÇCGI ÀÔ´Ï´Ù.

¾Æ·¡ ±ÛÀ» Âü°íÇϼ¼¿ä.

tar

»ç¿ë¹ý: tar [¿É¼Ç]... [ÆÄÀÏ]...

 

ÁÖ¿ä µ¿ÀÛ ¸ðµå :

  -t, --list              ¾ÆÄ«À̺êÀÇ ³»¿ë¹°À» Ãâ·ÂÇÕ´Ï´Ù

  -x, --extract, --get    ¾ÆÄ«À̺꿡¼­ ÆÄÀÏÀ» ÃßÃâÇÕ´Ï´Ù

  -c, --create            »õ·Î¿î ¾ÆÄ«À̺긦 ¸¸µì´Ï´Ù

  -d, --diff, --compare   ¾ÆÄ«À̺ê¿Í ÆÄÀÏ ½Ã½ºÅÛ°£ÀÇ Â÷ÀÌÁ¡À» ºñ±³ÇÕ´Ï´Ù

  -r, --append            ¾ÆÄ«ÀÌºê ³¡¿¡ ÆÄÀÏÀ» Ãß°¡ÇÕ´Ï´Ù

  -u, --update            ¾ÆÄ«ÀÌºê ¾ÈÀÇ °Íº¸´Ù »õ·Î¿î ÆÄÀϸ¸ Ãß°¡ÇÕ´Ï´Ù

  -A, --catenate          ¾ÆÄ«À̺꿡 tar ÆÄÀÏÀ» Ãß°¡ÇÕ´Ï´Ù

      --concatenate       -A¿Í °°À½

      --delete            ¾ÆÄ«À̺ê·ÎºÎÅÍ Á¦°ÅÇÕ´Ï´Ù (ÀÚ±â Å×ÀÌÇÁ¿¡¼± ¾ÈµÊ!)

 

µ¿ÀÛ º¯°æÀÚ:

  -W, --verify               ¾ÆÄ«À̺긦 ±â·ÏÇÑ ´ÙÀ½ °ËÁõÇϵµ·Ï ÇÕ´Ï´Ù

      --remove-files         ¾ÆÄ«À̺꿡 ÆÄÀÏÀ» Ãß°¡ÇÑ ´ÙÀ½ Áö¿ó´Ï´Ù

  -k, --keep-old-files       ÃßÃâÇÒ ¶§ ÀÌ¹Ì Á¸ÀçÇÏ´Â ÆÄÀÏÀ» µ¤¾î¾²Áö ¾Ê½À´Ï´Ù

:

 -U, --unlink-first         ÃßÃâÇϱ⿡ ¾Õ¼­ ´ë»ó ÆÄÀÏÀ» Áö¿ó´Ï´Ù

      --recursive-unlink     µð·ºÅ丮¸¦ ÃßÃâÇϱ⿡ ¾Õ¼­ ±× ü°è¸¦ ºñ¿ó´Ï´Ù

  -S, --sparse               ½ºÆĽº ÆÄÀÏÀ» È¿À²ÀûÀ¸·Î ó¸®ÇÕ´Ï´Ù

  -O, --to-stdout            Ç¥ÁØ Ãâ·ÂÀ¸·Î ÆÄÀÏÀ» ÃßÃâÇÕ´Ï´Ù

  -G, --incremental          ¿À·¡µÈ GNU Çü½ÄÀÇ Á¡ÁøÀû ¹é¾÷ ÆÄÀÏÀ» ó¸®ÇÕ´Ï´Ù

  -g, --listed-incremental   »õ·Î¿î GNU Çü½ÄÀÇ Á¡ÁøÀû ¹é¾÷ ÆÄÀÏÀ» ó¸®ÇÕ´Ï´Ù

      --ignore-failed-read   ÀÐÀ» ¼ö ¾ø´Â ÆÄÀÏ¿¡ ´ëÇØ ¿µ ¾Æ´Ñ °ªÀ¸·Î Á¾·áÇÏÁö

                             ¾Ê½À´Ï´Ù

 ÀåÄ¡ ¼±Åðú Àüȯ:

  -f, --file=ARCHIVE             ¾ÆÄ«À̺ê ÆÄÀÏ ¶Ç´Â ARCHIVE ÀåÄ¡¸¦ »ç¿ëÇÕ´Ï´Ù

      --force-local              À̸§¿¡ ÄÝ·ÐÀÌ ÀÖ´Â ¾ÆÄ«À̺ê ÆÄÀϵµ Áö¿ª ÆÄÀÏ·Î

                                 ÀνÄÇÕ´Ï´Ù

      --rsh-command=COMMAND      rsh ´ë½Å ¿ø°Ý COMMAND¸¦ »ç¿ëÇÕ´Ï´Ù

  -[0-7][lmh]                    µå¶óÀ̺ê¿Í ±â·Ï ¹Ðµµ¸¦ ÁöÁ¤ÇÕ´Ï´Ù

  -M, --multi-volume             ´ÙÁß º¼·ý ¾ÆÄ«À̺긦 »ý¼º/Ãâ·Â/ÃßÃâÇÕ´Ï´Ù

  -L, --tape-length=NUM          NUM x 1024 ¹ÙÀÌÆ®¸¦ ¾´ µÚ¿¡ Å×ÀÌÇÁ¸¦ ¹Ù²ß´Ï´Ù

  -F, --info-script=FILE         °¢ Å×ÀÌÇÁÀÇ ³¡¿¡¼­ ½ºÅ©¸³Æ®¸¦ ½ÇÇàÇÕ´Ï´Ù

                                 (-MÀ» Æ÷ÇÔÇÔ)

      --new-volume-script=FILE   -F FILE°ú °°À½

      --volno-file=FILE          FILE ¾È¿¡ ÀÖ´Â º¼·ý ¹øÈ£¸¦ »ç¿ë/°»½ÅÇÕ´Ï´Ù

 

ÀåÄ¡ ºí·° ¼³Á¤:

  -b, --blocking-factor=BLOCK    ·¹ÄÚµå´ç BLOCK x 512 ¹ÙÀÌÆ®

      --record-size=SIZE         ·¹ÄÚµå´ç SIZE ¹ÙÀÌÆ®, 512ÀÇ ¹è¼ö

  -i, --ignore-zeros             ¾ÆÄ«À̺꿡¼­ ¿µÀ¸·Î µÈ ºí·°À» ¹«½ÃÇÕ´Ï´Ù

                                 (EOF¸¦ ÀǹÌÇÔ)

  -B, --read-full-records        ÀÐÀº °ÍÀ» Àçºí·°È­ÇÕ´Ï´Ù (4.2BSD ÆÄÀÌÇÁ¿ëÀ¸·Î)

Á¤º¸ Ãâ·Â¿¡ °üÇÑ ¿É¼Ç:

      --help            ÀÌ µµ¿ò¸»À» ÀμâÇÏ°í ³¡³À´Ï´Ù

      --version         tar ÇÁ·Î±×·¥ÀÇ ¹öÀü ¹øÈ£¸¦ ÀμâÇÏ°í ³¡³À´Ï´Ù

  -v, --verbose         Ã³¸®µÇ´Â ÆÄÀÏÀ» ¼ø¼­´ë·Î Ãâ·ÂÇÕ´Ï´Ù

      --checkpoint      ¾ÆÄ«À̺긦 ÀÐÀ» µ¿¾È µð·ºÅ丮 À̸§À» ÀμâÇÕ´Ï´Ù

      --totals          ¾ÆÄ«À̺긦 ¸¸µé µ¿¾È ¾²¿©Áø ÃÑ ¹ÙÀÌÆ® ¼ö¸¦ ÀμâÇÕ´Ï´Ù

  -R, --block-number    °¢ ¸Þ½ÃÁö¸¶´Ù ¾ÆÄ«À̺곻ÀÇ ºí·° ¹øÈ£¸¦ Ç¥½ÃÇÕ´Ï´Ù

  -w, --interactive     ¸ðµç Çൿ¿¡ ´ëÇØ È®ÀÎÀ» ¿ä±¸ÇÕ´Ï´Ù

      --confirmation    -w¿Í °°À½

 

  -s, --same-order             sort names to extract to match archive

      --preserve-order         same as -s

      --preserve               same as both -p and -s

  -z, --gzip, --ungzip               filter the archive through gzip

  -Z, --compress, --uncompress       filter the archive through compress

      --use-compress-program=PROG    filter through PROG (must accept -d)

 

ex) µð·ºÅ丮 SSS¸¦ homepage.tar·Î ¾ÐÃàÇÕ´Ï´Ù.

$ tar cvf homepage.tar /SSS

SSS/            

 

±ÇÇÑ ½Ã°£±îÁö Ãâ·ÂÇÕ´Ï´Ù.

$ tar tvf homepage.tar

drwxr-xr-x hjh/linux         0 2000-10-07 17:11:51 SSS/

 

/etc µð·ºÅ丮¸¦ aaa¶õ ÆÄÀÏ·Î ¾ÐÃà½Ãŵ´Ï´Ù.

$ tar -zcvf aaa /etc

 

¾ÐÃàµÈ aaa¶õ ÆÄÀÏÀ» /etcµð·ºÅ丮¿¡ ¾ÐÃàÀ» DZ´Ï´Ù.

$ tar -zxvf aaa /etc

 

aaa bbb ccc ÆÄÀÏÀ» zzz ÆÄÀÏ·Î ¾ÐÃà½Ãŵ´Ï´Ù.

$ tar -zcvf zzz aaa bbb ccc

Ãßõ½ºÅ©·¦¼Ò½ºº¸±â ¸ñ·Ï
ÀÌÀü°Ô½Ã±Û [Áú¹®]*.tar.. 2004-08-06 01:36:08
´ÙÀ½°Ô½Ã±Û ¸·¸·ÇÕ´Ï´Ù. µµ¿ÍÁÖ¼¼¿ä~ 2004-08-07 00:55:42