Find/Replace but Increment Value

后端 未结 7 722
庸人自扰
庸人自扰 2020-12-31 18:35

I have an .HTML file that has many photos attached to it for displaying a photo gallery. I\'m replacing old photos with new ones, and I\'m thinking there must be a more inte

7条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-31 19:21

    I just use Excel & Notepad++

    Create a column of incrementing numbers in Excel. Then in the next (or previous) column, put in the line you wish to merge w/ the incrementing numbers. For instance:

    file00  |  1  |  .jpg
    file00  |  2  |  .jpg
    

    Etc.

    Then copy/paste the thing into Notepad++ (or use Excel's CONCATENATE function if the job is simple) and do a replacement.

提交回复
热议问题