Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

03_list_data_files.sh - List the data files

Description

Lists the data files in a directory, identified by extension (dta, csv, xlsx, rds, parquet, sas7bdat, archives and others; see the extensions variable in the script). When generated/manifest[.tag].txt and generated/metadata[.tag].txt exist (from 02_create_manifest.sh), it filters them instead of walking the file tree again.

Usage

./automations/03_list_data_files.sh <directory> [tag] [zipfile]

Outputs

See also summarize_data.py, which works from these lists.