File: tarcp

package info (click to toggle)
libwn6 6.0-17
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, sarge
  • size: 6,012 kB
  • ctags: 3,903
  • sloc: ansic: 45,078; makefile: 960; csh: 274; sh: 17
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 -)