diff options
author | James Laska <jlaska@redhat.com> | 2011-05-06 08:36:59 -0400 |
---|---|---|
committer | James Laska <jlaska@redhat.com> | 2011-05-06 08:36:59 -0400 |
commit | c6b2a9c7fb0e5b48bc626aaa5072163b5c6c894a (patch) | |
tree | 0e52c121238f4c219bd91090fcd3081fc1d9a49b | |
parent | 8125e66216dace26ccf89b77684d155fe00bc574 (diff) | |
download | scripts-c6b2a9c7fb0e5b48bc626aaa5072163b5c6c894a.tar.gz scripts-c6b2a9c7fb0e5b48bc626aaa5072163b5c6c894a.tar.xz scripts-c6b2a9c7fb0e5b48bc626aaa5072163b5c6c894a.zip |
Improve dry-run message
-rwxr-xr-x | compress_large_files | 3 |
1 files changed, 2 insertions, 1 deletions
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 |