shithub: rc

ref: ea1d46a06f491b08857d83829102b0df4cbe56bc
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