You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# do something to parse cli flags
meter_ip = $1
output_dir = $2
# connect to the meter
exec ./connect.sh
###
# Call a script to get the new event ids
# $('./get_events.sh $meter_ip'); should printout a list of event ids seperated by new lines
# example:
# 1234
# 1235
# 1236
# for file in $(ls -l); do echo $file; done
###
for event_id in $(./get_events.sh $meter_ip); do
exec ./download_event.sh $meter_ip $event_id $output_dir/$event_id
done
Rambling on how paths/current working directories for scripts
#!/usr/bin/env bash
echo "The script you are running has:"
echo "basename: [$(basename "$0")]"
echo "dirname : [$(dirname "$0")]"
echo "pwd : [$(pwd)]"
cwd=$(dirname "${0}")
exec $cwd/test.sh
The text was updated successfully, but these errors were encountered:
code deployment
/var/opt/acep-camio/GITHUB_REPO_NAME
How to start the data pipeline download
pseudocode - data-pipeline
meters/sel735/download.sh
Rambling on how paths/current working directories for scripts
The text was updated successfully, but these errors were encountered: