source: main/trunk/model-sites-dev/heritage-nz/collect/pdf-reports/PDFS-MISSING-FROM-XLS--FAST.sh@ 33247

Last change on this file since 33247 was 33247, checked in by davidb, 5 years ago

Additional info printed out

  • Property svn:executable set to *
File size: 520 bytes
Line 
1#!/bin/bash
2
3
4echo ""
5echo "===="
6echo "Locating directories in archives that match HASH*.dir as indicative of no metadata in spreadsheet:"
7echo "===="
8
9echo "Saving list in: PDFS-MISSING-FROM-XLS-LIST.txt"
10
11find archives -type d -name "*HASH*.dir" -print | tee PDFS-MISSING-FROM-XLS-LIST.txt
12
13echo "Number of PDFs missing metadata from spreadsheet:"
14
15wc -l PDFS-MISSING-FROM-XLS-LIST.txt
16
17echo ""
18echo "Away to list source PDF files:"
19sleep 3
20find archives/HASH* -name "*.pdf" | sed 's/^.*\// /' | sort
21echo ""
22
23
24
Note: See TracBrowser for help on using the repository browser.