Search Results

Search: Posts Made By: prkwan
17,528
Posted By prkwan
thanks vishnu!!
thanks vishnu!!
17,528
Posted By prkwan
I can get the script working as follows: ...
I can get the script working as follows:

#!/bin/sh
for name in `ls *.rtf`
do
name1=` echo $name| cut -f 1 -d . `
mv $name1.rtf $name1.doc
done

is working fine, but how do I make it...
17,528
Posted By prkwan
How to change extension?
How do you write a shell script that change the extension of all the files?

e.g

chext rtf doc

where .rtf is the original extension
and .doc is the new extension

is it something to do...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 03:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy