Thx for the answer, i mean this kind of size i see.. Other thing.. can you add this to the phoneme for maemo? It creates a jad from a jar file Code: #!/bin/bash FILE=$1 if [ ! -f "${FILE}" ]; then echo "Select an input file first!" exit 1 fi JAD="${FILE%.*}.jad" if [ -f "${JAD}" ]; then echo "${JAD} Already exists, overwrite the file? (y/N)" read tmpans answer=$(echo "$tmpans" | tr '[:upper:]' '[:lower:]') if [ "$answer" != "y" ] && [ "$answer" != "yes" ]; then echo "Not overwriting ${JAD} file!" exit 1 else rm -f "${JAD}" fi fi unzip -aa -j -p ${FILE} "META-INF/MANIFEST.MF" | sed -e '/^[ \t]*$/d' > "${JAD}" echo "MIDlet-Jar-URL: ${FILE}" >> "${JAD}" echo "MIDlet-Info-URL: http://" >> "${JAD}" FILESIZE=$(stat %s "${FILE}") echo "MIDlet-Jar-Size: ${FILESIZE}" >> "${JAD}" echo "${JAD} file Created!" exit 0 i saved like jadmaker on /usr/bin/. to create a jad file starting from a jar, now i simple digit jadmaker /path/jarfilename.jar and it makes the jad file just becouse sometimes we need a jad file too..
#!/bin/bash FILE=$1 if [ ! -f "${FILE}" ]; then echo "Select an input file first!" exit 1 fi JAD="${FILE%.*}.jad" if [ -f "${JAD}" ]; then echo "${JAD} Already exists, overwrite the file? (y/N)" read tmpans answer=$(echo "$tmpans" | tr '[:upper:]' '[:lower:]') if [ "$answer" != "y" ] && [ "$answer" != "yes" ]; then echo "Not overwriting ${JAD} file!" exit 1 else rm -f "${JAD}" fi fi unzip -aa -j -p ${FILE} "META-INF/MANIFEST.MF" | sed -e '/^[ \t]*$/d' > "${JAD}" echo "MIDlet-Jar-URL: ${FILE}" >> "${JAD}" echo "MIDlet-Info-URL: http://" >> "${JAD}" FILESIZE=$(stat %s "${FILE}") echo "MIDlet-Jar-Size: ${FILESIZE}" >> "${JAD}" echo "${JAD} file Created!" exit 0