lssr
Alternative ls command.
インストール
Python 3.9 以上がインストールされていれば利用可能です。
pip install lssr
使い方
# カレントディレクトリにあるアイテムを表示
lssr
# 指定したディレクトリにあるアイテムを表示(相対パス)
lssr path/to/target/dir
# 絶対パスでの指定
lssr /absolute/path/to/target/dir
# ソート順を逆にする
lssr -r
lssr --reverse path/to/target/dir
# 最終内容更新時刻順の新しい順にソート
lssr -t
# 古い順
lssr -tr
# ファイルサイズの大きい順にソート
lssr -S
# 小さい順
lssr -rS
# オプションの並び順は、ある程度自由です
lssr -t path/to/target/dir --reverse
# ヘルプを表示
lssr -h
lssr --help
# バージョンを表示
lssr -V
lssr --version
ls コマンドとの違い
-
アイテムの並び順が異なります。デフォルトで、以下の順序でアイテムが表示されます。
- フォルダ -> ファイル
- Unicode
つまり、GitHub と同様の並び順になるはずです。
-
ドットファイルを含んだリスト形式でのカラー表示がデフォルトです(
ls -AGlと同等)。 -
現在、パスを 2 つ以上指定することはできません。その代わり、オプションの指定はパスの前後どちらでも良いです。
-
多くのオプションがまだ実装されていません。利用できるオプションは上記「使い方」やヘルプコマンドを参照してください。
Metadata
Release files for lssr 1.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| lssr-1.3.0.tar.gz | 4.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lssr-1.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.4 kB
Release files / lssr-1.3.0.tar.gz
| Download URL | lssr-1.3.0.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
79ea89d61519cc7c9aed0321c787882d37b20644b801236a92cdde07eb3b6068
|
|
BLAKE2b-256 checksum How to use checksums |
15bf950489e197782fbd09aaba87e1fee42fefd375925429851a88123e1f1b38
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Release files / lssr-1.3.0-py3-none-any.whl
| Download URL | lssr-1.3.0-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8614d7c6e988a823cc1e606a2c50376d283ace1fd8cc061ee0c4ce5ca17237d0
|
|
BLAKE2b-256 checksum How to use checksums |
b0c6e023cd8cb574fe206f74ddcede3af64ef1c759f95f62215718c3227888b1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Security for lssr 1.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.