Debian Codegraph @

icmake/installer

raw symbols SCIP
1 #!/bin/bash
2
3 if [ $# -eq 0 ] ; then
4 echo destination path, ending in /, must be provided
5 exit 0
6 fi
7
8 for src in `find -mindepth 1 -type d` # create missing target dirs
9 do
10 [ ! -e $1$src ] && mkdir -p $1$src
11 done
12
13 for file in `find -type f -or -type l`
14 do
15 cp -d --preserve=timestamps $file $1$file
16 done
17