Quick Assorted
Quick Hints & Answers For Common Issues
Jul 3, 2012
Shell script to rename the files as per requirement.
Shell script to rename .xml files to .properties
for NAME in *.xml;
do
length=${#NAME};
echo ${NAME} ${length};
mv ${NAME} ${NAME:0:${length}-4}.properties
done;
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)