Subversion Repositories planix.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
#!/bin/rc
2
# dircp src dest - copy a tree with tar
3
switch($#*){
4
case 2
5
	@ {builtin cd $1 && tar cif /fd/1 .} | @ {builtin cd $2 && tar xTf /fd/0}
6
case *
7
	echo usage: dircp from to >[1=2]
8
	exit usage
9
}