Changeset 25909
- Timestamp:
- 12/21/20 10:55:10 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/scripts/DownloadExamplesDatasets.sh
r25906 r25909 20 20 DIRECTORY_PREFIX=$1 21 21 22 if [ ! -d ${DIRECTORY_PREFIX}]; then22 if [ ! -d "${DIRECTORY_PREFIX}" ]; then 23 23 echo "Error: output directory ${DIRECTORY_PREFIX} does not exist" 24 24 exit 1 … … 35 35 36 36 # Get datasets 37 wget --no-clobber --directory-prefix="${DIRECTORY_PREFIX}" ${dataset_urls}37 wget --no-clobber --directory-prefix="${DIRECTORY_PREFIX}" "${dataset_urls}" 38 38 39 39 # Expand zip files 40 unzip -n "${DIRECTORY_PREFIX}/*.zip"40 unzip -n -d "${DIRECTORY_PREFIX}" "${DIRECTORY_PREFIX}/*.zip"
Note:
See TracChangeset
for help on using the changeset viewer.