shithub: rc

ref: 1b83241eb81b63b74c217935ca3a611828152a44
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