Results 1 to 15 of 15
  1. #1
    Affiliate Manager PetsWarehouse.com's Avatar
    Join Date
    January 17th, 2005
    Location
    Long Island, New York
    Posts
    1,616
    Exclamation Need find replace software
    I need to find something that will do a bulk find and replace on like 20,000 *.HTM files.

    Ex: abcd ID: (with a 6-10 digit variable)

    So abcd ID: 123456
    or abcd ID: 123456789

    Change to "this & that"

    Also need to change a 12 digit number to 10, but I want to drop the first and last digit, leaving the 10 in the center.
    Bob Pets Warehouse
    Worlds Largest Pet Supply DataBase
    Join our Share-A-Sale Program [since 2003] Twitter



  2. #2
    ABW Ambassador Snib's Avatar
    Join Date
    January 18th, 2005
    Location
    Virginia
    Posts
    5,303
    I just posted about this the other day. Check the 15th post in this thread:

    http://forum.abestweb.com/showthread.php?t=88188

    There's a very simple perl command you can use from your shell to take care of this in a snap. And the best part is it's free and requires no installation.

    Here is what you'd do for your example:

    perl -pe "s/123456/123456789/g" *.htm

    - Scott
    Hatred stirs up strife, But love covers all transgressions.

  3. #3
    Affiliate Manager PetsWarehouse.com's Avatar
    Join Date
    January 17th, 2005
    Location
    Long Island, New York
    Posts
    1,616
    Thanks, but this is a windows deal
    Bob Pets Warehouse
    Worlds Largest Pet Supply DataBase
    Join our Share-A-Sale Program [since 2003] Twitter



  4. #4
    ABW Ambassador Snib's Avatar
    Join Date
    January 18th, 2005
    Location
    Virginia
    Posts
    5,303
    Quote Originally Posted by PetsWarehouse.com
    Thanks, but this is a windows deal
    You can install perl on Windows and do the same command through your Dos prompt I believe. Or you might want to try something like wingrep. It'll do the same thing but with a GUI.

    - Scott
    Hatred stirs up strife, But love covers all transgressions.

  5. #5
    Affiliate Manager PetsWarehouse.com's Avatar
    Join Date
    January 17th, 2005
    Location
    Long Island, New York
    Posts
    1,616
    Hey Scott that looks interesting.

    Do you know of an image resizer that will work on Vista, need to make about 30,000 thumb nails
    Bob Pets Warehouse
    Worlds Largest Pet Supply DataBase
    Join our Share-A-Sale Program [since 2003] Twitter



  6. #6
    Full Member
    Join Date
    December 20th, 2005
    Posts
    413
    I once used a download called cian text replacer. A tad less than elegant interface, but it worked.
    [URL=http://themoneyforums.com]The Money Forums[/URL]

  7. #7
    Resident Genius and Staunch Capitalist Leader's Avatar
    Join Date
    January 18th, 2005
    Location
    Florida
    Posts
    12,817
    Do you know of an image resizer that will work on Vista, need to make about 30,000 thumb nails
    I'm sure there's a (much) cheaper standalone app that can do it. But if you've already got Photoshop, it's got a way to do it, and you won't have to find a different program.

    It's some kind of a "make photo gallery" option. (It's been a while since I did mine, so I don't remember exactly how they named the feature, but it's in there.)

    It expects to show the pix on an HTML page and autogens a template for that, but it's easy to just ditch all the .html files out of the folder and upload the pix. Have Windows arrange the files in the thumbnails folder by file type, and the non-pix will bang right out at ya.

    Other than that, you just tell Photoshop which folder the originals are in, and where to send the thumbs to, set the size and it does the rest. Your originals stay unchanged; the thumbs are resized copies.
    There is no knowledge that is not power. ~Hemingway

  8. #8
    Affiliate Manager PetsWarehouse.com's Avatar
    Join Date
    January 17th, 2005
    Location
    Long Island, New York
    Posts
    1,616
    Quote Originally Posted by DoctorMike
    I once used a download called cian text replacer. A tad less than elegant interface, but it worked.
    Tech support just replied

    "On current version this replace type is not possible, on next
    version we will add the regular expresion and it will be possible.

    Thank you
    Claudio

    Ciantechnology.com>"
    Bob Pets Warehouse
    Worlds Largest Pet Supply DataBase
    Join our Share-A-Sale Program [since 2003] Twitter



  9. #9
    Newbie
    Join Date
    November 9th, 2006
    Posts
    16
    ReplaceEm

    Quick Easy & Free

    From the site:
    Welcome to the wonderful world of ReplaceEm, your premiere-quality, freeware string-replacing utility for Windows. At its core, ReplaceEm is essentially a text search-and-replace program. However, unlike the search-replace functionality of a standard text editor, ReplaceEm is designed to operate on multiple files at once. And you need not only perform one search-replace operation per file -- you can setup a list of operations to perform. If different groups of files need to have different operations performed on them, this is no problem either. You can also specify a backup file for each file processed just incase the replace operation didnít do exactly what you wanted.
    I've used it on a batch of 2500+ files and it's fast!

  10. #10
    Resident Genius and Staunch Capitalist Leader's Avatar
    Join Date
    January 18th, 2005
    Location
    Florida
    Posts
    12,817
    Thinking about it, I think Vedit should be able to handle it.

    I used to use that for giant feed files before I went over to MySQL. It's really fast, and won't scream if you throw 100,000+ lines of data at it (along with a find/replace command).

    The interface isn't (or at least wasn't on my version) very intuitive, and the data screen's pretty ugly--but it had all kinds of capabilities waiting to be found. I'd be amazed if regex wasn't among them.

    There's a free trial version, so you can see if it can handle what you need before plunking down any money.
    There is no knowledge that is not power. ~Hemingway

  11. #11
    Full Member
    Join Date
    October 22nd, 2006
    Posts
    200
    You could run apache php and mysql on your local machine.

    I have a PHP image resize utility running on some of my websites which resizes images automatically to a standard size for my datafeed sites. I could send you a copy of the script if you are interested.

    It could easily be made to read all the jpgs in a folder and resize them into a new folder.

  12. #12
    You are in, or you are out ... choose!
    Join Date
    January 18th, 2005
    Posts
    459
    re "image resizer", have a look at Thumbs Plus, an image cataloger that will also auto-generate thumbnails.
    [url=http://www.dWoz.com/][b]dWoz[/b][/url] - serious webmaster tools & resources.

  13. #13
    Affiliate Manager PetsWarehouse.com's Avatar
    Join Date
    January 17th, 2005
    Location
    Long Island, New York
    Posts
    1,616
    Thanks for the input, we"ll check them out.
    Bob Pets Warehouse
    Worlds Largest Pet Supply DataBase
    Join our Share-A-Sale Program [since 2003] Twitter



  14. #14
    Super Sh!t Stirrer SSanf's Avatar
    Join Date
    January 18th, 2005
    Posts
    9,944
    Quote Originally Posted by PetsWarehouse.com
    I need to find something that will do a bulk find and replace on like 20,000 *.HTM files.

    Ex: abcd ID: (with a 6-10 digit variable)

    So abcd ID: 123456
    or abcd ID: 123456789

    Change to "this & that"

    Also need to change a 12 digit number to 10, but I want to drop the first and last digit, leaving the 10 in the center.
    Uh, I don' know if this is what you are lookin for but there is a free little piece of software called Multi-Replace (by Martin Holmes).

    It would probably do the trick.
    Comments are opinion unless otherwise noted. Remember, pillage first. Then burn. Half of all people in the world have IQs under 100. You best learn to trust ol' SSanf!

  15. #15
    Member suniliu's Avatar
    Join Date
    March 7th, 2007
    Posts
    162
    For batch thumbs and more, you can find software to your needs at www.snapfiles.com freeware and shareware, the image resize link is http://www.snapfiles.com/Freeware/gmm/fwgcomp.html
    all the latest software

    -Sunil

  16. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. How can I replace commas. Replace wont' do it
    By sotonman in forum WebMerge (Fourthworld.com)
    Replies: 8
    Last Post: April 25th, 2007, 04:37 AM
  2. Excel find and replace question
    By jazzylee77 in forum Programming / Datafeeds / Tools
    Replies: 13
    Last Post: February 6th, 2006, 05:35 PM
  3. Webmerge Find & Replace Problem
    By Tiebreaker in forum WebMerge (Fourthworld.com)
    Replies: 1
    Last Post: January 18th, 2004, 12:58 PM
  4. Find and Replace
    By cazzie in forum Programming / Datafeeds / Tools
    Replies: 2
    Last Post: December 13th, 2002, 03:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •