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;
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment