Thanks For your Valuable support, Now im able to run shell script in cygwin using java.
But I am facing some problem with following method.
ConvertToUpperCase()
{
rename 'y/a-z/A-Z/' *
cd APPBUILD
rename 'y/a-z/A-Z/' *
cd DISKS
rename 'y/a-z/A-Z/' *
cd SEATAPP
rename 'y/a-z/A-Z/' *
cd ../../../
}
This Function is not executing in cygwin. Can any one suggest how to Debug shell script in Cygwin. Or Do i Need to change Function for the same.
Edit Note: Removed Java Tag..
up(){
for i in *; do
mv "$i" "${i^^}"
done
}
ConvertToUpperCase(){
up
cd APPBUILD
up
cd DISKS
up
cd SEATAPP
up
cd ../../../
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.