Extended README.md and removed unwanted output

This commit is contained in:
2021-05-24 23:47:16 +02:00
parent a22bdf470c
commit 67207b367d
2 changed files with 5 additions and 2 deletions

View File

@ -38,7 +38,9 @@ function rename() {
continue
fi
filename="$(md5sum $filepath | awk '{print $1}')$ext"
mv "$filepath" "$base/$filename"
if [ $file != $filename ]; then
mv -f "$filepath" "$base/$filename"
fi
done
}