Skip to main content

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 by specific file extension using --file-extension cli argument

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

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

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

fsort_cli-0.3.0.tar.gz (977.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fsort_cli-0.3.0-py3-none-any.whl (1.4 MB view details)

Uploaded Python 3

File details

Details for the file fsort_cli-0.3.0.tar.gz.

File metadata

  • Download URL: fsort_cli-0.3.0.tar.gz
  • Upload date:
  • Size: 977.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for fsort_cli-0.3.0.tar.gz
Algorithm Hash digest
SHA256 6720694ff83175325fdeda6a9d235f3b77fa01416cd3d89624dcea31501fcf0c
MD5 d69e5f001ccb86be02bd736abd5549a0
BLAKE2b-256 7a109962fa892b9b0cb4d6f2fdb8e8bd27f8595fad7ec9bf1dff65a5e861c7ec

See more details on using hashes here.

File details

Details for the file fsort_cli-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: fsort_cli-0.3.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

Hashes for fsort_cli-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1cd775e8fc640726176bb0d4dac3f7e4a7c006df5ed6ffa460e39b7b180b82ee
MD5 436c1760d441b43ea9a9e8466f3e822b
BLAKE2b-256 4b02db821b6552ed7052f60c8ce6b47bf443cf386b25dd902879547bcf8d825e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page