mirror of https://github.com/CIRCL/Circlean
append .txt to the log files. Make it easyer to open on Windows.
parent
a0f168facb
commit
a67f5e7109
|
@ -9,7 +9,7 @@ source ./constraint_conv.sh
|
||||||
RECURSIVE_ARCHIVE_MAX=3
|
RECURSIVE_ARCHIVE_MAX=3
|
||||||
RECURSIVE_ARCHIVE_CURRENT=0
|
RECURSIVE_ARCHIVE_CURRENT=0
|
||||||
ARCHIVE_BOMB=0
|
ARCHIVE_BOMB=0
|
||||||
LOGFILE="${LOGS}/processing"
|
LOGFILE="${LOGS}/processing.txt"
|
||||||
|
|
||||||
# Something went wrong.
|
# Something went wrong.
|
||||||
error_handler(){
|
error_handler(){
|
||||||
|
|
|
@ -97,13 +97,13 @@ do
|
||||||
echo "${partition} mounted at ${SRC}"
|
echo "${partition} mounted at ${SRC}"
|
||||||
|
|
||||||
# Print the filenames on the current partition in a logfile
|
# 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
|
# create a directory on ${DST} named PARTION_$PARTCOUNT
|
||||||
target_dir="${DST}/FROM_PARTITION_${PARTCOUNT}"
|
target_dir="${DST}/FROM_PARTITION_${PARTCOUNT}"
|
||||||
echo "copying to: ${target_dir}"
|
echo "copying to: ${target_dir}"
|
||||||
mkdir -p "${target_dir}"
|
mkdir -p "${target_dir}"
|
||||||
LOGFILE="${LOGS}/processing"
|
LOGFILE="${LOGS}/processing.txt"
|
||||||
|
|
||||||
echo "==== Starting processing of ${SRC} to ${target_dir}. ====" >> ${LOGFILE}
|
echo "==== Starting processing of ${SRC} to ${target_dir}. ====" >> ${LOGFILE}
|
||||||
main ${target_dir}
|
main ${target_dir}
|
||||||
|
|
Loading…
Reference in New Issue