Commit 40cbb30b authored by Christian Meesters's avatar Christian Meesters

stage_in: hot fix, 'find' now dereferences links

parent f57c8ea2
......@@ -4,11 +4,7 @@ cat <<EOF > $stagefile
#!/bin/bash
target=/localscratch/$SLURM_JOB_ID/ramdisk
cd \$target
for fname in \$(find ${DATABASEPATH} -type f ); do
#suffix=\${fname#*.}
outfile=\$(basename \${fname})
cp -L \$fname \$outfile &
done
parallel -j 4 cp {} {/} ::: \$(find -L ${DATABASEPATH} -type f )
cd -
wait
EOF
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment