Autorefresh.sh: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
==How to work with it?== | ==How to work with it?== | ||
[[File:Screenshot from 2023-06-01 10-56-42.png|thumb|right|Screenshot of a pad used by Alex and Manetta on June 1st 2023, while working on a Graphviz diagram of the Médor workflow.]] | |||
'''What does this script do?'''<br> | '''What does this script do?'''<br> | ||
Line 40: | Line 42: | ||
$ ./autorefresh.sh filename | $ ./autorefresh.sh filename | ||
[[Category:Boilerplates]] | [[Category:Boilerplates]] |
Latest revision as of 13:32, 25 September 2024
Script
#!/bin/bash
input=$1;
filename=$(basename $input);
while true
do
wget http://pads.osp.kitchen/p/css-regions.graphviz/export/txt -O $filename.dot
dot -Tpdf $filename.dot > $filename.pdf
sleep 5
done
How to work with it?
What does this script do?
...
In which context was it made?
...
What software does it use?
...
How to download these pieces of software?
...
On which systems can this script run?
...
How to run the script?
First make the script executable:
chmod +x autorefresh.sh
And then run the script:
$ ./autorefresh.sh filename