Skip to content

clium/dirt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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:

Releases

No releases published

Packages

No packages published

Languages