rename file_list.txt -> file_list.found.txt

This commit is contained in:
Landon Curt Noll committed 2023-10-26 19:44:22 -07:00
1 parent ec0ff15116
commit 9e9b602281
3 files changed
+8 -5

No files matched your search

+5 -2
View File
@@ -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)
File renamed without changes.
+3 -3
View File
@@ -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