File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
applications/workspaces/tasks/biomodels-copy Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2929 echo Biomodels copy " ${path} " to " ${download_path} "
3030 echo " ${path} " >> filelist
3131 done
32- echo Biomodels downloading files
3332 # Move to temporary directory to rename only the downloaded files.
3433 # Otherwise we risk renaming all files, even ones where the user has used
3534 # '+' in the file name explicitly
3635 tempdir=$( mktemp -d)
36+ echo Biomodels downloading files in " ${tempdir} "
3737 pushd " ${tempdir} "
3838 aria2c --retry-wait=2 --max-tries=5 --input-file=filelist --max-concurrent-downloads=5 --max-connection-per-server=5 --allow-overwrite " true" --auto-file-renaming " false"
3939 rename -a ' +' ' ' * .*
4040 popd
41- mv " ${tempdir} /* " .
41+ mv -v " ${tempdir} /" * .
4242 # directory should be empty, so rmdir will work
4343 rmdir " ${tempdir} "
4444 rm filelist -f
You can’t perform that action at this time.
0 commit comments