Crates.io | places-cli |
lib.rs | places-cli |
version | 0.1.2 |
source | src |
created_at | 2024-06-21 00:55:53.505379 |
updated_at | 2024-06-21 16:23:47.406161 |
description | A cli program to get file and directory locations from XDG |
homepage | https://github.com/jtsagata/places-cli |
repository | https://github.com/jtsagata/places-cli |
max_upload_size | |
id | 1278952 |
size | 89,727 |
A handy tool for your scripts to always get correct path names for known locations. Sometimes the location is changed by either ENVIRONMENT variables, or by user localization.
Usage: places [OPTIONS] <location> [pathel]...
Arguments:
<location>
[possible values: home, desktop, downloads, templates, documents, pictures, videos, music, public, config, bin, cache, state, data, autostart, fonts, menus, backgrounds, icons]
[pathel]...
Optional list of path elements to append
Options:
-a, --app <program>
Optional program to get paths
See manpage for more info.
places -a gizmo config theme colors.txt \
places config gizmo theme colors.txt
lsd $(places --app=gizmo data) \
places --app=gizmo data | xargs lsd
cp gizmo_config.toml $(places -a gizmo config)
'Downloads dir'
, even if it is localized.places downloads Software
This returns something like /home/alice/Descargas/Software