# File System

| Recipe | Crates | Categories |
|--------|--------|------------|
| [Read lines of strings from a file][ex-std-read-lines] | [![std-badge]][std] | [![cat-filesystem-badge]][cat-filesystem] |
| [Avoid writing and reading from a same file][ex-avoid-read-write] | [![same_file-badge]][same_file] | [![cat-filesystem-badge]][cat-filesystem] |
| [Access a file randomly using a memory map][ex-random-file-access] | [![memmap-badge]][memmap] | [![cat-filesystem-badge]][cat-filesystem] |
| [File names that have been modified in the last 24 hours][ex-file-24-hours-modified] | [![std-badge]][std] | [![cat-filesystem-badge]][cat-filesystem] [![cat-os-badge]][cat-os] |
| [Find loops for a given path][ex-find-file-loops] | [![same_file-badge]][same_file] | [![cat-filesystem-badge]][cat-filesystem] |
| [Recursively find duplicate file names][ex-dedup-filenames] | [![walkdir-badge]][walkdir] | [![cat-filesystem-badge]][cat-filesystem] |
| [Recursively find all files with given predicate][ex-file-predicate] | [![walkdir-badge]][walkdir] | [![cat-filesystem-badge]][cat-filesystem] |
| [Traverse directories while skipping dotfiles][ex-file-skip-dot] | [![walkdir-badge]][walkdir] | [![cat-filesystem-badge]][cat-filesystem] |
| [Recursively calculate file sizes at given depth][ex-file-sizes] | [![walkdir-badge]][walkdir] | [![cat-filesystem-badge]][cat-filesystem] |
| [Find all png files recursively][ex-glob-recursive] | [![glob-badge]][glob] | [![cat-filesystem-badge]][cat-filesystem] |
| [Find all files with given pattern ignoring filename case][ex-glob-with] | [![glob-badge]][glob] | [![cat-filesystem-badge]][cat-filesystem] |

[ex-std-read-lines]: file/read-write.html#read-lines-of-strings-from-a-file
[ex-avoid-read-write]: file/read-write.html#avoid-writing-and-reading-from-a-same-file
[ex-random-file-access]: file/read-write.html#access-a-file-randomly-using-a-memory-map
[ex-file-24-hours-modified]: file/dir.html#file-names-that-have-been-modified-in-the-last-24-hours
[ex-find-file-loops]: file/dir.html#find-loops-for-a-given-path
[ex-dedup-filenames]: file/dir.html#recursively-find-duplicate-file-names
[ex-file-predicate]: file/dir.html#recursively-find-all-files-with-given-predicate
[ex-file-skip-dot]: file/dir.html#traverse-directories-while-skipping-dotfiles
[ex-file-sizes]: file/dir.html#recursively-calculate-file-sizes-at-given-depth
[ex-glob-recursive]: file/dir.html#find-all-png-files-recursively
[ex-glob-with]: file/dir.html#find-all-files-with-given-pattern-ignoring-filename-case

{{#include links.md}}
