it would be very nice if someone could help me translating this script into linux language! please...
CODE
global proc exportBlends (){
fileBrowserDialog -mode 4 -fc "exportCallback" -an "Pick Your Blend Shape Directory";
return;
}
global proc exportCallback(string $path, string $mode){
print ("this is the dir path: " + $path + "\n");
string $objs[] = ls -sl
;
for ($obj in $objs){
select $obj;
file -es -type "mayaAscii" ($path + "/" + $obj);
delete $obj;
print "successfully exported objects! \n";
}
}