Crates.io | dirt |
lib.rs | dirt |
version | 0.1.0 |
source | src |
created_at | 2021-04-12 16:08:13.902306 |
updated_at | 2021-04-12 16:08:13.902306 |
description | Directory Traverser; WIP |
homepage | |
repository | https://github.com/clium/dirt |
max_upload_size | |
id | 382463 |
size | 2,341 |
Dirt stands for directory traversal. It is a library and a binary which provides functionality to traverse directories in manys ways.
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: