Adding handling of several logos and destinations for previews #4

Open
opened 2024-05-15 17:27:30 +00:00 by YannK · 2 comments
Owner

The destinations of preview files should be given by the json file, as the fact to brand the picture or not with a logo for each destination, and if yes, by which logo

The destinations of preview files should be given by the json file, as the fact to brand the picture or not with a logo for each destination, and if yes, by which logo
YannK added reference logo_managing 2024-05-23 09:06:17 +00:00
YannK self-assigned this 2024-05-23 09:06:28 +00:00
Author
Owner

Usefull notes to use jq command : https://www.baeldung.com/linux/jq-command-json

Usefull notes to use jq command : https://www.baeldung.com/linux/jq-command-json
Author
Owner

Example of working jq command:

$ cat example/material_list.json | jq  -r '.[] | select(.name=="texture_factory_test_Preset_numero_2") | .destination_512 | .[]' | jq '.[0]'
"build/export/project_B_512"
"build/export/project_C_512"
Example of working jq command: ``` bash $ cat example/material_list.json | jq -r '.[] | select(.name=="texture_factory_test_Preset_numero_2") | .destination_512 | .[]' | jq '.[0]' "build/export/project_B_512" "build/export/project_C_512" ```
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: YannK/Textures_factory#4
No description provided.