mirror of
https://github.com/status-im/status-web.git
synced 2025-01-11 21:24:34 +00:00
remove shell script for renaming files
This commit is contained in:
parent
1cf0c8b1e7
commit
89f44e435e
@ -1,10 +0,0 @@
|
|||||||
#!/bin/zsh
|
|
||||||
|
|
||||||
directory=$1
|
|
||||||
|
|
||||||
for file in "$directory"/*; do
|
|
||||||
filename=$(echo "$file" | tr '[:upper:]' '[:lower:]') # convert to lowercase
|
|
||||||
filename="${filename// /-}" # replace spaces with dashes
|
|
||||||
filename="${filename//_/-}" # replace underscores with dashes
|
|
||||||
mv "$file" "$filename"
|
|
||||||
done
|
|
Loading…
x
Reference in New Issue
Block a user