diff --git a/tmp/README.md b/tmp/README.md index 8c8da6108..edec297bf 100644 --- a/tmp/README.md +++ b/tmp/README.md @@ -350,7 +350,7 @@ entries where the "created_by" (5th) field is non-null. See This file is formed by the [fix_numbers_csv.sh](fix_numbers_csv.sh) tool. -### [file_list.txt](file_list.txt) +### [file_list.found.txt](file_list.found.txt) A list of files that exist, or should exist once the tools to generate certain files, such as the `index.html`, or the `.winner.json` files for each entry, are created. @@ -413,7 +413,10 @@ rm -rf ../author ; ./gen_author_json.sh author_handle.txt author.csv author_win ### [gen_file_list.sh](gen_file_list.sh) -After doing a `make clobber` this tool updates, if needed, [file_list.txt](file_list.txt). +The list of paths of files in winners. + +After doing a `make clobber` this tool updates, if needed, +form [file_list.found.txt](file_list.found.txt). ### [manifest.numbers](manifest.numbers) diff --git a/tmp/file_list.txt b/tmp/file_list.found.txt similarity index 100% rename from tmp/file_list.txt rename to tmp/file_list.found.txt diff --git a/tmp/gen_file_list.sh b/tmp/gen_file_list.sh index 5b69373ab..acf628ae3 100755 --- a/tmp/gen_file_list.sh +++ b/tmp/gen_file_list.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # -# gen_file_list.sh - generate tmp/file_list.txt for entry directories under a year +# gen_file_list.sh - generate tmp/file_list.found.txt for entry directories under a year # # Copyright (c) 2023 by Landon Curt Noll. All Rights Reserved. # @@ -122,7 +122,7 @@ fi # move to TOPDIR # cd "$TOPDIR" || echo "$0: ERROR: cd $TOPDIR failed, error code: $status" 1>&2 || exit 10 -export FILE_LIST="tmp/file_list.txt" +export FILE_LIST="tmp/file_list.found.txt" # make clobber # @@ -135,7 +135,7 @@ fi # find files under 4 character dirs # -TMPFILE="tmp/tmp.file_list.txt.$$" +TMPFILE="tmp/tmp.file_list.found.txt.$$" trap 'rm -f $TMPFILE; exit' 0 1 2 3 15 find -- ???? -mindepth 2 -type f -print | sort -d > "$TMPFILE" if [[ ! -s $TMPFILE ]]; then