LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Change batch script to shell script (https://www.linuxquestions.org/questions/linux-software-2/change-batch-script-to-shell-script-307658/)

alan.belizario 03-30-2005 01:39 AM

Change batch script to shell script
 
cd WORLD
ren 2*.html "2004%1wor??.*"
cd ..

cd TOP_ST~1
ren 2*.html "2004%1top??.*"
cd ..

cd SPORTS
ren 2*.html "2004%1spo??.*"
cd ..

cd PROV
ren 2*.html "2004%1pro??.*"
cd ..

cd OPINION
ren 2*.html "2004%1opi??.*"
cd ..

cd METRO
ren 2*.html "2004%1met??.*"
cd ..

cd LIFE
ren 2*.html "2004%1lif??.*"
cd ..

cd ENTER
ren 2*.html "2004%1ent??.*"
cd ..

cd BUSINESS
ren 2*.html "2004%1bus??.*"
cd ..

acid_kewpie 03-30-2005 01:49 AM

Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php


All times are GMT -5. The time now is 03:13 PM.