Oracle Apps DBA
Monday, 25 July 2011
Unix: Rename multiple files script
cd /Oracle/archives
fList="`ls`"
for fNm in $fList do
mv $fNm $fNm.dat
echo "file $fNm renamed to $fNm ."
done
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Number of Visitors
No comments:
Post a Comment