easy question..need some help here please

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alex79
    Confirmed User
    • Jun 2002
    • 996

    #1

    easy question..need some help here please

    what is the easyest method to rename many html pages (for example 100 pages: page1.html, page2.html....to xxxpage1.html, xxxpage2.html...)
    is there any software/program which can do that in the automatic way?
  • JDog
    Confirmed User
    • Feb 2003
    • 7453

    #2
    Originally posted by alex79
    what is the easyest method to rename many html pages (for example 100 pages: page1.html, page2.html....to xxxpage1.html, xxxpage2.html...)
    is there any software/program which can do that in the automatic way?
    easy, search magic file renamer on google! that program does miricles! Easy to use once you get the hang of it!


    jDoG
    NSCash now powering ReelProfits.com
    ALSO FEATURING: NSCash.com :: SoloDollars.com :: ReelProfits.com :: BiminiBucks.com :: VOD
    PROGRAMS COMING SOON: Greedy Bucks :: Vengeance Cash
    NOW OFFERING OVER 60 SITES
    CONTACT :: JAMES SMITH :: CHIEF TECHNOLOGY OFFICER :: ICQ (711385133)

    Comment

    • freeadultcontent
      Confirmed User
      • Oct 2002
      • 9976

      #3
      ACDSee image viewer program will do it just fine. Ok sure it is for images but why buy or install something else when it does many other functions.

      Exclusive Ethnic & Microniche Sites

      Comment

      • Mr.Fiction
        Confirmed User
        • Feb 2002
        • 9484

        #4
        http://www.1-4a.com/rename/

        Watchout you don't rename every file on your machine.
        Don't be lazy, protect free speech: ACLU | Free Speech Coalition | EFF | IMPA

        Comment

        • alex79
          Confirmed User
          • Jun 2002
          • 996

          #5
          these programs are awsome...thanks guys

          one more question...for replace "word_x" whit "word_y" in all the html page what programs can i use?

          Comment

          • extreme
            Confirmed User
            • Oct 2002
            • 2120

            #6
            ---------------------
            #!/bin/bash
            #
            # ren.sh by extreme@gfy
            #
            if [ $# -ne 2 ]
            then
            echo "Usage: `basename $0` prefix newprefix"
            exit;
            fi
            for file in ./$1*
            do
            new=`echo ${file}|sed s/$1/$2/ig`
            mv $file $new
            done
            ---------------------

            bash p0wer!

            To solve your example:

            ren.sh page xxxpage

            Comment

            Working...