9d453cd196ec1ea803471a12689abac324a7d06b hiram Wed Nov 13 16:17:49 2013 -0800 add note about rsync the entire directory to download binaries refs #12165 diff --git src/utils/userApps/mkREADME.sh src/utils/userApps/mkREADME.sh index 21dc254..e452209 100755 --- src/utils/userApps/mkREADME.sh +++ src/utils/userApps/mkREADME.sh @@ -16,29 +16,35 @@ if [ "$#" -ne 2 ]; then usage fi DESTDIR=$1 RESULT=$2 if [ ! -d "${DESTDIR}" ]; then echo "ERROR: specified destination directory \"${DESTDIR}\"" echo " does not exist." usage fi cd "${DESTDIR}" -echo "================================================================" \ - > "${RESULT}" +echo "================================================================ +to download all of the files from one of these admin/exe/ directories, + for example: admin/exe/linux.x86_64/ + using the rsync command to your current directory: + + rsync -aP rsync://hgdownload.cse.ucsc.edu/genome/admin/exe/linux.x86_64/ ./ + +================================================================" > "${RESULT}" find . -mindepth 1 -type f | grep -v -w hgsql | sed -e "s/^.\///; /mkREADME.sh/d" | sort | \ while read F do if [ -x "${F}" ]; then echo "======== ${F} ====================================" echo "================================================================" ./${F} echo "================================================================" fi done >> "${RESULT}" 2>&1