]> Sergey Matveev's repositories - dotfiles.git/blobdiff - bin/bin/mv-hsh
Why the hell I still used SHA?
[dotfiles.git] / bin / bin / mv-hsh
similarity index 70%
rename from bin/bin/mv-sha
rename to bin/bin/mv-hsh
index bf5cc5c2373bdcc87a076a8622b892a24816eafa..fe7ee9259ea708f261a38f872b4fb1cf638a08e4 100755 (executable)
@@ -2,5 +2,5 @@
 
 [ $# -eq 0 ] && fs="$(find . -maxdepth 1 -type f)" || fs="$@"
 for f in $fs ; do
-    mv -v "$f" $(sha1 -q "$f").${f##*.}
+    mv -v "$f" $(b3sum < "$f").${f##*.}
 done