File: tarcp

package info (click to toggle)
libwn6 6.0-1
  • links: PTS
  • area: main
  • in suites: slink
  • size: 5,996 kB
  • ctags: 3,938
  • sloc: ansic: 45,083; makefile: 924; csh: 274; sh: 12
file content (8 lines) | stat: -rwxr-xr-x 94 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
#/bin/csh -f

if ( ! -d $2 ) then
  mkdir $2
endif

(cd $1; tar cf - .) | (cd $2; tar xvf -)