6 lines
471 B
Bash
Executable File
6 lines
471 B
Bash
Executable File
# List all extra fields
|
||
#ssh root@62.217.183.88 -t 'cd /var/lib/docker/volumes/fema_storage/_data; find -name params.json | while read file; do echo "$file - $(cat $file | jq ".EXTRA")"; done'
|
||
|
||
# List ips for volgabus
|
||
ssh root@62.217.183.88 -t 'cd /var/lib/docker/volumes/fema_storage/_data; find -name params.json | while read file; do echo "$file - $(cat $file | jq "if (.SYSTEM.REG_NUMBER | contains(\"АВТ\")) then .EXTRA else \"NONE\" end")"; done | grep -v NONE'
|