Lite Python package that lets you view file and directory access rights with octal
Project description
lsoc - LS OCTAL
A lite Python package that lets you view file and directory access rights with octal.
Equivalent to typing: stat -c "%a %n" *
Installation
From PyPI
pip install lsoc
On Ubuntu 24+ and modern Linux distros
pipx install lsoc
From source
git clone https://github.com/AlperSakarya/lsoc.git
cd lsoc
pipx install -e .
Usage
View all files in current directory:
lsoc
View specific file:
lsoc filename
Example Output
$ lsoc
755 Desktop
755 Documents
755 Downloads
755 Music
600 myfile.tar.gz
755 Pictures
755 Public
400 Python.pem
775 Steam
$ lsoc /usr/bin/sudo
4755 /usr/bin/sudo
Available on PyPI
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
lsoc-0.1.4.tar.gz
(2.5 kB
view details)
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
lsoc-0.1.4-py3-none-any.whl
(3.0 kB
view details)
File details
Details for the file lsoc-0.1.4.tar.gz.
File metadata
- Download URL: lsoc-0.1.4.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8bb2d844a7e3d3883213c1ad6573f3dd5edfff941cfa200bae6da36b39f6364
|
|
| MD5 |
24273f074996f49390d72f7896d51f1a
|
|
| BLAKE2b-256 |
9c4591338fe23ac72a03ab15aa67172098693c679d20af0a67c5fbbc9c124041
|
File details
Details for the file lsoc-0.1.4-py3-none-any.whl.
File metadata
- Download URL: lsoc-0.1.4-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
67355280056cb5673650f38e1d6bfb96fedb52762ce09af076b6bb81fbddaf6a
|
|
| MD5 |
d89da2dc6b53cfb8a8b2471c8d899370
|
|
| BLAKE2b-256 |
d1e432517e6a1a3c96e5a3a629e056d8a0b7b47b424c0da58af174ffdfafae50
|