mvhash

#!/bin/sh

[ -f $1 ] && mv -v $1 $(shasum $1 | awk '{print $1}') || echo "Argument needs to be a file!"
comments powered by Disqus