MicroUtils/local.migrate.folder.sh
2023-08-08 18:45:36 +06:00

13 lines
265 B
Bash
Executable File

#!/bin/bash
function renameFolders() {
for folder in $(find . -depth -type d -name "$1");
do
sedString="s/$1/$2/g"
newFolder="$(echo $folder | sed $sedString)"
echo $folder "$newFolder"
done
}
renameFolders "androidTest" "androidUnitTest"