Skip to content

Commit 5fa096b

Browse files
committed
Added README.md
1 parent 76c90c7 commit 5fa096b

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

README.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# fdir
2+
3+
**fdir* is a simple command-line utility to list, filter, and sort files and folders in your current directory. It provides a more flexible alternative to Windows's 'dir' command.
4+
5+
---
6+
7+
## Features
8+
9+
- List all files and folders in the current directory
10+
- Filter files by:
11+
- Last modified date (`--gt`, `--lt`)
12+
- File size (`--gt`, `--lt`)
13+
- Name keywords (`--keyword`, `--swith`, `--ewith`)
14+
- File type/extension (`--eq`)
15+
- Sort results by:
16+
- Name, size, or modification date (`--order <field> <a|d>`)
17+
18+
## Examples
19+
```bash
20+
fdir modified --gt 1y --order name a
21+
fdir size --lt 100MB --order modified d
22+
fdir name --keyword report --order size a
23+
fdir type --eq .py --order name d
24+
fdir all --order modified a
25+
26+
27+
## Installation
28+
29+
1. Install via `pip` (Python 3.8+ required):
30+
```bash
31+
pip install fdir
32+
33+
2. Download the 'fdir.bat' launcher
34+
35+
3. Place 'fdir.bat' in a folder on your PATH

0 commit comments

Comments
 (0)