chore: update project branding to citron
This commit is contained in:
parent
b35ae725d2
commit
9427e27e24
495 changed files with 304 additions and 3189 deletions
17
rename.sh
Executable file
17
rename.sh
Executable file
|
@ -0,0 +1,17 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Define old and new strings
|
||||
old="yuzu"
|
||||
new="citron"
|
||||
|
||||
# Find and rename directories first
|
||||
find . -depth -type d -name "*${old}*" | while read -r dir; do
|
||||
newdir=$(echo "$dir" | sed "s/${old}/${new}/g")
|
||||
mv "$dir" "$newdir"
|
||||
done
|
||||
|
||||
# Find and rename files
|
||||
find . -depth -type f -name "*${old}*" | while read -r file; do
|
||||
newfile=$(echo "$file" | sed "s/${old}/${new}/g")
|
||||
mv "$file" "$newfile"
|
||||
done
|
Loading…
Add table
Add a link
Reference in a new issue