17 lines
496 B
Bash
17 lines
496 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
for i in * ; do
|
||
|
if [ -d "$i" ]; then
|
||
|
# echo "processing $i"
|
||
|
if [ -f $i.properties ]; then
|
||
|
if [ "$1" == "-test" ]; then
|
||
|
echo "mv -f $i.properties $i/bbbResources.properties"
|
||
|
else
|
||
|
#echo "no"
|
||
|
mv -f $i.properties $i/bbbResources.properties
|
||
|
fi
|
||
|
fi
|
||
|
fi
|
||
|
done
|
||
|
|