Skip to main content

fsort-cli

Development Status PyPI version Python versions

CI

fsort is a simple yet powerful terminal utility for viewing directory contents in an organized manner on your terminal window.

fsort lets you visualise the files in sorted order by name, size, or last modified date.

fsort provides a quick and convenient way to view files directly from the command line.

fsort does not actually modify/sort the files in the actual file system. It only reads the contents of the directory and displays the file name, size and last modified date in sorted order on terminal.

fsort fsort fsort fsort fsort fsort

Installation

$ pip install fsort-cli
$ fsort --version
fsort 0.8.0

Usage

By default fsort sorts the files in the current working directory by file "name"

fsort

You can specify the directory using --path CLI argument

fsort --path /path/to/directory

You can specify by what order the files need to be sorted using --key CLI argument

Mac/Linux:

fsort --path /path/to/directory --key size

fsort --path /path/to/directory --key date

fsort --path /path/to/directory --key name

NOTE: Windows users please enclose the directory path in quotes. For Mac/Linux users wrapping the directory path in quotes is not mandatory.

Windows:

fsort --path "C:\path\to\directory" --key size

fsort --path "C:\path\to\directory" --key date

fsort --path "C:\path\to\directory" --key name

You can sort specific file types using --file-extension CLI argument.

Usage

Sort only those files with jpg extension by "name"

fsort --path /path/to/directory --key name --file-extension jpg

Sort only those files with txt extension by "size"

fsort --path /path/to/directory --key size --file-extension txt

Sort only those files with png extension by "last modified date"

fsort --path /path/to/directory --key date --file-extension png

Metadata

Release files for fsort-cli 0.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fsort-cli 0.9.0
File Size Uploaded
fsort_cli-0.9.0.tar.gz 4.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fsort-cli 0.9.0
File Interpreter ABI Platform
fsort_cli-0.9.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.4 kB

Release files / fsort_cli-0.9.0.tar.gz

Download URL fsort_cli-0.9.0.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
5b7055bf7a102f9cf2b31a1b2f1ba5bdad34e0168fd22f573261cb795cb78c38
BLAKE2b-256 checksum
How to use checksums
3d3d4aa92eb650f50879c07bc670e23d1554ce1126b0375834ddcc0f64ccb146
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release files / fsort_cli-0.9.0-py3-none-any.whl

Download URL fsort_cli-0.9.0-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3a3763afd991d0571ac883a221d365181481490a442aeffa07df3e2bbd8553b8
BLAKE2b-256 checksum
How to use checksums
6ac6323871bdadfa02f26c9cd28420b11b9683b48b0d5fba1c8972c41477bd63
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release history Release notifications | RSS feed

0.9.1

2 release files

This release

0.9.0 This release

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page