dircp 113 B

12345678
  1. #!/bin/rc
  2. switch($#*){
  3. case 2
  4. @{cd $1 && tar c .}|@{cd $2 && tar x}
  5. case *
  6. echo usage: dircp from to >[1=2]
  7. }