shithub: rc

ref: f07569f5b3e61db3641d01c45c77a3e749e0763f
dir: /rag/

View raw version
#!/bin/rc
# save image under http://notreally.info/transport/spacecraft/ragnarok/img/
rfork e
raw=$1
file=`{basename $raw}
if(~ $raw http*//*)
	hget $raw >$rag/img/$file
if not
	fcp $raw $rag/img/^`{date -n}^.^$file