Expand description
Utilities for File Operations
Functions§
- collect_
arc_ files - Collects archive files from the specified path, either as a directory or a single file.
- collect_
ext_ files - Collects files with specific extensions from the specified path, either as a directory or a single file.
- collect_
files - Collects files from the specified path, either as a directory or a single file.
- find_
arc_ files - Finds all archive files in the specified directory and its subdirectories.
- find_
ext_ files - Finds all files with specific extensions in the specified directory and its subdirectories.
- find_
files - Finds all files in the specified directory and its subdirectories.
- make_
sure_ dir_ exists - Ensures that the parent directory for the specified path exists, creating it if necessary.
- read_
file - Reads the content of a file or standard input if the path is “-”.
- relative_
path - Returns the relative path from
roottotarget. - sanitize_
path - Replace symbols not allowed in Windows path with underscores.
- write_
file - Writes content to a file or standard output if the path is “-”.