I converted in bash this. All credits go to davidmarco.
This is for:
Stock firmwares T/TL/TX/V (JB)
What is working:
Flash zip files
And so on, so apparently all (further testing and feedback will be appreciated)
Note: You must install adb tool on your system (Ubuntu based distro: sudo apt-get install android-tools-adb)
Installing CWM for the first time is as simple as:
Download CWM v7 installer and unzip
Enable USB debugging and connect phone to your computer
Disconnect usb cable and power off the phone
Power on the phone
When SONY logo appears:
On Xperia T/TX/TV press repeatedly (not holding) volume-down button until the phone vibrates
On Xperia V running JB try one of these:
Press repeatedly (not holding) power button until the phone vibrates
Tap repeatedly the screen
Wait a few seconds and you will be on CWM
Volume+ for up
Volume- for down
Power button for enter/ok
Unable to enter recovery?
Make sure you have granted superuser permissions to adb shell. Sometimes this occurs when running install.bat for the first time, sometimes not. Best way is open a windows command prompt, enter "adb shell" and then enter "su". Your super user application will ask you for grant permissions, accept and retry running install.sh.
Keep in mind that at the moment installing CWM will broke OTA updates, even if you unroot and/or remove CWM.