mirror of
https://github.com/bytedream/scripts.git
synced 2025-06-27 10:10:32 +02: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