summaryrefslogtreecommitdiff
path: root/mkdircp
blob: 2236f24a20ceaf80023b6828e9a1aa9167e624a2 (plain)
1
2
3
4
5
6
7
8
#!/bin/rc -e
if(! ~ $#* 2){
	echo usage: $0 fromdir todir >[1=2]
	exit usage
}
if(! test -d $2)
	mkdir $2
exec dircp $1 $2