tarã使ã£ã¦ãã£ã¬ã¯ããªãã¨ãã¡ã¤ã«ãã³ãã¼
Macã®å ´åãmvã³ãã¼å ã«ååã®ãã£ã¬ã¯ããªãããã¨-fä»ãã¦ãã¯ããããã®ã§éå®ãããã(å¯è½ãªãªãã·ã§ã³ãããã§ãããï¼)
ã«ã¬ã³ããã£ã¬ã¯ããªã®å ¨ã¦ãã¡ã¤ã«ããã³ãã£ã¬ã¯ããªãã¿ã¼ã²ããããã£ã¬ã¯ããª(target_dir)ã«ã³ãã¼
$ tar cf - * | ( cd /target_dir; tar xfp -)
ã«ã¬ã³ããã£ã¬ã¯ããªã®æå®ãããã£ã¬ã¯ããª(source_dir)ãã¿ã¼ã²ããããã£ã¬ã¯ããª(target_dir)ã«ã³ãã¼
$ tar cvf - ./source_dir | (cd /target_dir; tar xvfp -)