diff --git a/fs/opt/groomer/functions.sh b/fs/opt/groomer/functions.sh index 5ed2ed7..6651e77 100755 --- a/fs/opt/groomer/functions.sh +++ b/fs/opt/groomer/functions.sh @@ -9,7 +9,7 @@ source ./constraint_conv.sh RECURSIVE_ARCHIVE_MAX=3 RECURSIVE_ARCHIVE_CURRENT=0 ARCHIVE_BOMB=0 -LOGFILE="${LOGS}/processing" +LOGFILE="${LOGS}/processing.txt" # Something went wrong. error_handler(){ diff --git a/fs/opt/groomer/groomer.sh b/fs/opt/groomer/groomer.sh index 99af3e5..74b09d8 100755 --- a/fs/opt/groomer/groomer.sh +++ b/fs/opt/groomer/groomer.sh @@ -97,13 +97,13 @@ do echo "${partition} mounted at ${SRC}" # Print the filenames on the current partition in a logfile - find "${SRC}" -fls "${LOGS}/Content_partition_${PARTCOUNT}" + find "${SRC}" -fls "${LOGS}/Content_partition_${PARTCOUNT}.txt" # create a directory on ${DST} named PARTION_$PARTCOUNT target_dir="${DST}/FROM_PARTITION_${PARTCOUNT}" echo "copying to: ${target_dir}" mkdir -p "${target_dir}" - LOGFILE="${LOGS}/processing" + LOGFILE="${LOGS}/processing.txt" echo "==== Starting processing of ${SRC} to ${target_dir}. ====" >> ${LOGFILE} main ${target_dir}