dirt

Crates.iodirt
lib.rsdirt
version0.1.0
sourcesrc
created_at2021-04-12 16:08:13.902306
updated_at2021-04-12 16:08:13.902306
descriptionDirectory Traverser; WIP
homepage
repositoryhttps://github.com/clium/dirt
max_upload_size
id382463
size2,341
Mihir Luthra (MihirLuthra)

documentation

README

dirt

Dirt stands for directory traversal. It is a library and a binary which provides functionality to traverse directories in manys ways.

Working

Dirt binary:

dirt <root_dir> [-c|--ctime] [-m|--mtime] [-a|--atime] [-r|--reverse]

For instance,

dirt $HOME -a

will print contents to the deepest directory sorted by access time of files.

Example:

$ tree
.
├── dir1
│   ├── nested_file1
│   └── nested_file2
├── file1
└── file2

1 directory, 4 files
$ dirt . -a
./dir1/nested_file2
./file2
./file1
./dir1/nested_file1

Above, ./dir1/nested_file2 was accessed most recently so it was on the top.

Helpful links:

Commit count: 3

cargo fmt