Results for “list files”
Small, practical examples. Search by task or narrow things down below.
Describe terms in a definition list
HTML: Learn how to describe terms in a definition list in a complete browser example.
HTML✓ Tested
Display a bounded slice of a list
Display a bounded slice of a list with a standalone Angular component and explicit browser behavior.
Angular✓ Tested
Enumerate matching files recursively
C#: Sort relative filenames when reproducible traversal output is required.
C#✓ Tested
Exclude files from the build context
Docker / Compose: A dockerignore file prevents selected local files from being copied.
Docker / Compose✓ Tested
Exclude generated files from an archive
Linux Commands: Place exclude options before the input paths to control archive membership.
Linux Commands✓ Tested
Export a container filesystem into a new image
Docker / Compose: export contains filesystem data; import creates a new image from it.
Docker / Compose✓ Tested
Export committed files without the Git metadata directory
Git: Git archive creates a snapshot of tracked committed files only.
Git✓ Tested
Filter a list by a search term
Filter a list by a search term with a small React component and explicit browser behavior.
React✓ Tested
Filter a list with a condition
Build a new list containing only the values that satisfy a condition using a list comprehension.
list✓ Tested
Filter a signal-backed list
Filter a signal-backed list with a standalone Angular component and explicit browser behavior.
Angular✓ Tested
Find empty regular files
Linux Commands: Use the empty predicate with a file type constraint.
Linux Commands✓ Tested
Find files by extension
Search a directory tree for regular files with a particular extension and print their paths.
find✓ Tested