Batch replace method?

  • Advertisement ( why? )
     

    CoffeeBuzz, 28th Nov 2013 4:28 am

    I've been using HTML-Kit for nearly 3 years now, and I have a website with about 75 pages. I needed to make a change to something on it today, and spent hours and hours changing each page individually. I find this unacceptable.

    I know there's a plugin called cmBatchReplace. I have the plugin installed. At one point it even worked, at least occasionally. Nowadays it only works about 2% of the time, if even that. I tried numerous times to use it to make the changes to my site, but no soap. I'd get all my parameters set up and hit "Start" but all it would do is immediately inform me that it has "finished in 0 seconds" and changed 0 files. Now, this was on my ftp connection. I then went through the process of downloading several of my files to my hard drive and tried running it there. Got it to work twice, for minor changes, but then it stopped working again. And the changes disappeared when I uploaded those files again.

    I do most of my maintenance via ftp rather than screwing around with files on my computer. And when I need to change 70+ pages of a site (it's an online fiction site) I can't really spend hours or days doing this all by hand -- nor should I have to.

    From poking around the site for the plugin, I get the impression its author hasn't touched it in about 8 or 9 years. Has anyone else developed an alternative I could use to get the job done next time I need to make changes?

    • Dave P, 28th Nov 2013 7:51 am

      On 11/28/2013 5:28 AM, CoffeeBuzz wrote:

      I've been using HTML-Kit for nearly 3 years now, and I have a website
      with about 75 pages. I needed to make a change to something on it
      today, and spent hours and hours changing each page individually. I
      find this unacceptable.

      I know there's a plugin called cmBatchReplace. I have the plugin
      installed. At one point it even worked, at least occasionally.
      Nowadays it only works about 2% of the time, if even that. I tried
      numerous times to use it to make the changes to my site, but no soap.
      I'd get all my parameters set up and hit "Start" but all it would do
      is immediately inform me that it has "finished in 0 seconds" and
      changed 0 files. Now, this was on my ftp connection. I then went
      through the process of downloading several of my files to my hard
      drive and tried running it there. Got it to work twice, for minor
      changes, but then it stopped working again. And the changes
      disappeared when I uploaded those files again.

      I do most of my maintenance via ftp rather than screwing around with
      files on my computer. And when I need to change 70+ pages of a site
      (it's an online fiction site) I can't really spend hours or days
      doing this all by hand -- nor should I have to.

      From poking around the site for the plugin, I get the impression its
      author hasn't touched it in about 8 or 9 years. Has anyone else
      developed an alternative I could use to get the job done next time I
      need to make changes?

      Since you posted in the htmikit.editor.tools, I will assume you are
      using HTMLKit Tools and not version 292, the free version.

      The latest version of Tools (20131106) has the option to "Replace in all
      open files" on the regular replace dialog. You might not be able to
      open all 75 files at once, but you might be able to accomplish this in 3
      or 4 passes instead of doing it manually in each file. Tools
      20131106 is currently on the user assistant for download.

      Dave Pyles

      • bill, 28th Nov 2013 9:24 am

        On 11/28/2013 8:51 AM, Dave Pyles wrote:

        On 11/28/2013 5:28 AM, CoffeeBuzz wrote:

        I've been using HTML-Kit for nearly 3 years now, and I have a
        website
        with about 75 pages. I needed to make a change to something on it
        today, and spent hours and hours changing each page
        individually. I
        find this unacceptable.

        I know there's a plugin called cmBatchReplace. I have the plugin
        installed. At one point it even worked, at least occasionally.
        Nowadays it only works about 2% of the time, if even that. I tried
        numerous times to use it to make the changes to my site, but no
        soap.
        I'd get all my parameters set up and hit "Start" but all it
        would do
        is immediately inform me that it has "finished in 0 seconds" and
        changed 0 files. Now, this was on my ftp connection. I then went
        through the process of downloading several of my files to my hard
        drive and tried running it there. Got it to work twice, for minor
        changes, but then it stopped working again. And the changes
        disappeared when I uploaded those files again.

        I do most of my maintenance via ftp rather than screwing around
        with
        files on my computer. And when I need to change 70+ pages of a
        site
        (it's an online fiction site) I can't really spend hours or days
        doing this all by hand -- nor should I have to.

        From poking around the site for the plugin, I get the
        impression its
        author hasn't touched it in about 8 or 9 years. Has anyone else
        developed an alternative I could use to get the job done next
        time I
        need to make changes?

        Since you posted in the htmikit.editor.tools, I will assume you
        are using HTMLKit Tools and not version 292, the free version.

        The latest version of Tools (20131106) has the option to "Replace
        in all open files" on the regular replace dialog. You might not
        be able to open all 75 files at once, but you might be able to
        accomplish this in 3 or 4 passes instead of doing it manually in
        each file. Tools
        20131106 is currently on the user assistant for download.

        Dave Pyles

        You can also "Replace in Files" that will do that for all the
        files in a directory/subdirectory...

        bill

    • Guest, 25th Dec 2013 7:52 pm

    • Guest, 25th Dec 2013 7:52 pm

      1