shithub: rc

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