Autorefresh.sh

From creative crowd wiki
Revision as of 12:59, 1 June 2023 by Manetta (talk | contribs) (Created page with "<syntaxhighlight lang="bash"> #!/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 </syntaxhighlight> Category:Boilerplates")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
#!/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