mirror of
https://github.com/bytedream/scripts.git
synced 2025-12-14 23:12:06 +01:00
Extended README.md and removed unwanted output
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user