mirror of
https://github.com/pkgforge-community/git.citron-emu.org-Citron-Citron.git
synced 2026-03-22 17:46:10 -04:00
Android: Implement TLB optimization to prevent deadlocks and improve performance
This commit is contained in:
committed by
github-actions[bot]
parent
452e20baff
commit
85b9b9442c
17
rename.sh
Executable file
17
rename.sh
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Define old and new strings
|
||||
old="citron"
|
||||
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
|
||||
Reference in New Issue
Block a user