Terminal program that sorts files by name/size/last-modified-date
Project description
fsort-cli
A lightweight command-line utility for sorting files in a directory by file name, file size, or last modified date.
Installation
pip install fsort-cli
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
fsort --path /path/to/directory --key size
fsort --path /path/to/directory --key date
fsort --path /path/to/directory --key name
You can sort specific types of files using --file-extension cli argument.
Sort all jpg files by "name"
fsort --path /path/to/directory --key name --file-extension jpg
Sort all txt files by "size"
fsort --path /path/to/directory --key size --file-extension txt
Sort all png files by "last modified date"
fsort --path /path/to/directory --key date --file-extension png
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fsort_cli-0.4.0.tar.gz.
File metadata
- Download URL: fsort_cli-0.4.0.tar.gz
- Upload date:
- Size: 977.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41c2be908cade5dc7de869eacfde39f39cfd90557fcfdd1f6680e97afd84ae14
|
|
| MD5 |
d01b1de81de0ebd0cf590bc823c31479
|
|
| BLAKE2b-256 |
f2107fcf90ce7d307c18ca5eb219d1d45ff9de6518e5c99864d37532044d6f04
|
File details
Details for the file fsort_cli-0.4.0-py3-none-any.whl.
File metadata
- Download URL: fsort_cli-0.4.0-py3-none-any.whl
- Upload date:
- Size: 1.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a9d49854989d6f9081110d4e4d9d2451ecd94556f1cfb0c1f320f222f4ac5a75
|
|
| MD5 |
ef606ae51e5d803947c3cd168666fa4a
|
|
| BLAKE2b-256 |
b3ebac0923358d85b7d73143ad3c0700f99ac942be9326ab04b08cbc893f09ca
|