https://github.com/luquedaniel/lnmc
Tool to create symbolic links in batches from a YAML file.
https://github.com/luquedaniel/lnmc
batches command command-line-tool devops linux python shell symlink sysadmin windows
Last synced: 3 months ago
JSON representation
Tool to create symbolic links in batches from a YAML file.
- Host: GitHub
- URL: https://github.com/luquedaniel/lnmc
- Owner: LuqueDaniel
- License: agpl-3.0
- Created: 2019-10-14T22:19:17.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-10-01T08:42:41.000Z (8 months ago)
- Last Synced: 2024-10-11T04:11:58.903Z (8 months ago)
- Topics: batches, command, command-line-tool, devops, linux, python, shell, symlink, sysadmin, windows
- Language: Python
- Homepage:
- Size: 146 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lnmc
[](https://pypi.org/project/lnmc/)


[](https://coveralls.io/github/LuqueDaniel/lnmc?branch=master)
[](https://github.com/psf/black)Allows to create symbolic link in batches from a YAML file and consolidate them in a
specific directory.Install:
```shell
pip install lnmc
```Usege:
```shell
lnmc addons.yml src/ destination/
```## Configuration File
lnmc as first argument needs a `.yaml` or `.yml` file. The directories, sub-directories
and files that will be the target for symbolic links are specified in this file. For example.```yaml
reporting-engine:
- report_xlsx
purchase-workflow:
- purchase_landed_cost
pos:
- pos_margin
partner-contact:
- partner_vat_unique
- base_location_nuts
- base_location_geonames_import
- base_location
mis-builder:
- mis_builder
- mis_builder_budget
# It will create symbolic links of all subdirectories and files
l10n-spain:
```(Example of a typical Odoo project)
## Development Install
```shell
git clone https://github.com/LuqueDaniel/lnmc.git
cd lnmc
python -m venv --prompt . .venv/
source .venv/bin/activate
pip install -e ".[dev]"
```