acep-uaf / camio-meter-streams

0 stars 0 forks source link

Handle cleanup when script stopped before finished #81

Closed nicolemah99 closed 4 months ago

nicolemah99 commented 4 months ago

Use bash trap command to initiate cleanup

nicolemah99 commented 4 months ago

Bash trap in download.sh catches CRTL C and calls cleanup(wrapper function) that calls cleanup.sh and renames event_id dir to event_id.incomplete