summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcompress_large_files3
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