gio-based volume mounting and unmounting tool.
Project description
gio-based volume handling tool lid
(Un)Install
To install, run
uv tool install lid-cli
Then run
yd --install-completion
to install auto-completion in your shell.
In bash, the completion code is stored in ~/.bash_completions/lid.sh and that file is sourced from ~/.bashrc.
Remove both and call uv tool uninstall lid-cli to remove this tool.
(Un)Mounting
Currently, lid allows to (un)mount volumes using gio.
To find available volumes, run lid ls (add the --mounted option to restrict to mounted volumes).
Use lid mount NAME to mount a volume wherein name is the name displayed by lid ls.
Use lid umount NAME to unmount. lid will only unmount what it has itself mounted.
This allows to sandwich another action between a lid mount and a lid umount call to have the volume mounted during the action and retain the initial state afterwards
(if the volume was mounted before calling lid mount it is still mounted after lid umount).
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 lid_cli-0.5.tar.gz.
File metadata
- Download URL: lid_cli-0.5.tar.gz
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46633da68f6e8918ca81a806a6b6c77b37070e53b9c13729971655ebc9ef9a80
|
|
| MD5 |
9d0b407e5cc10097846f331587345055
|
|
| BLAKE2b-256 |
4c8ca19dafcf482c53535b8b987c7e1904397a4f2b7648785c7e2888ccc02220
|
File details
Details for the file lid_cli-0.5-py3-none-any.whl.
File metadata
- Download URL: lid_cli-0.5-py3-none-any.whl
- Upload date:
- Size: 13.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bcd790a36c78b420a113da6d17b191a3746bee53ba4895ec4f08c929271a1b57
|
|
| MD5 |
bd5ff25abf9a74535328ebd8c439c257
|
|
| BLAKE2b-256 |
0f2600fd55a46e6a218a1ef8d2f8005d364d35b477b912b47b6a9d229d8c72b6
|