github.com/cockroachdb/cockroachdb-parser@v0.23.3-0.20240213214944-911057d40c9a/copy_files.sh (about)

     1  #!/bin/sh
     2  
     3  DIR=$1
     4  FROM=$2
     5  TO=$3
     6  
     7  mkdir -p $TO/$DIR
     8  for file in $(find $FROM/$DIR -maxdepth 1 -type f); do
     9    cp $file $TO/$DIR/$(basename $file)
    10  done