Skip to main content

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

https://pypi.org/project/lsoc/

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)

Uploaded Source

Built Distribution

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

lsoc-0.1.4-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

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

Hashes for lsoc-0.1.4.tar.gz
Algorithm Hash digest
SHA256 f8bb2d844a7e3d3883213c1ad6573f3dd5edfff941cfa200bae6da36b39f6364
MD5 24273f074996f49390d72f7896d51f1a
BLAKE2b-256 9c4591338fe23ac72a03ab15aa67172098693c679d20af0a67c5fbbc9c124041

See more details on using hashes here.

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

Hashes for lsoc-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 67355280056cb5673650f38e1d6bfb96fedb52762ce09af076b6bb81fbddaf6a
MD5 d89da2dc6b53cfb8a8b2471c8d899370
BLAKE2b-256 d1e432517e6a1a3c96e5a3a629e056d8a0b7b47b424c0da58af174ffdfafae50

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