Skip to content

Commit

Permalink
Make bh_md5rename() verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
merces committed Nov 27, 2024
1 parent 01f9ea4 commit 210a82a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filesystem/bh_md5rename.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ bh_md5rename() {

for i in $*; do
md5_hash=$(bh_cmd_md5 "$i" | cut -d" " -f1)
[[ $md5_hash ]] && mv "$i" $(dirname "$i")/$md5_hash
[[ $md5_hash ]] && mv -v "$i" $(dirname "$i")/$md5_hash
done
}

0 comments on commit 210a82a

Please sign in to comment.