You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
194 B
8 lines
194 B
1 year ago
|
find ./tests -name "*.py" -type f | while read file
|
||
|
do
|
||
|
filename=$(basename "$file")
|
||
|
dir=$(dirname "$file")
|
||
|
if [[ $filename != test_* ]]; then
|
||
|
mv "$file" "$dir/test_$filename"
|
||
|
fi
|
||
|
done
|