shithub: rc

ref: 68248005d45f958f0523861df9f6ac9b07e44c3b
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