From c6b2a9c7fb0e5b48bc626aaa5072163b5c6c894a Mon Sep 17 00:00:00 2001 From: James Laska Date: Fri, 6 May 2011 08:36:59 -0400 Subject: Improve dry-run message --- compress_large_files | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compress_large_files b/compress_large_files index e5c8a96..5165a52 100755 --- a/compress_large_files +++ b/compress_large_files @@ -47,7 +47,8 @@ find "${COMPRESS_DIR}" -type f -not -name "*${COMPRESS_SUFFIX}" -size +"${MINSIZ while read line do if [ ${DRYRUN} -eq 1 ]; then - echo "Would run: ${COMPRESS_CMD} ${line}" + echo "\$ ${COMPRESS_CMD} ${line}" + echo "\$ ln -s $(basename $line).gz ${line}" else ${COMPRESS_CMD} ${line} # Create symlink to original file -- cgit