1. Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

find and replace application

Discussion in 'General Software' started by freebie, Nov 15, 2011.

  1. freebie

    freebie New Member

    Joined:
    Oct 18, 2010
    Messages:
    181 (0.14/day)
    Thanks Received:
    13
    Location:
    Walsall
    Hi all,

    i've been struggling with a task at work for a while now,

    i'm looking for a piece of software i can set to find a file across lots of locations and then replace it with a specified file, anyone got any suggestions to help a guy in need?

    Any help very very very greatly appreciated! :):):):):)
  2. Thrackan

    Thrackan

    Joined:
    Oct 10, 2008
    Messages:
    3,471 (1.72/day)
    Thanks Received:
    655
    Lots of locations = multiple servers? Multiple OS?

    Something like a sync service?
    freebie says thanks.
  3. yogurt_21

    Joined:
    Feb 18, 2006
    Messages:
    4,277 (1.43/day)
    Thanks Received:
    537
    is this a full find and replace as in you don't know where all the locations are?

    or would a sync service work as thrackan suggested?

    in the server realm we always opt for automated processes over manual so I just have to replace 1 file on the main and all 2000 others that I manage get it.

    but if you don't know where it is then it's going to be difficult to go accross multiple systems.

    Is this related to a program? is there a database that's associated with that program? because that would be far simpler than a generic find and replace.
    freebie says thanks.
  4. freebie

    freebie New Member

    Joined:
    Oct 18, 2010
    Messages:
    181 (0.14/day)
    Thanks Received:
    13
    Location:
    Walsall
    It's across Windows XP and Windows Server 2003, the file is sitting in the profiles of all of the users on the network, all 1200 of them. So a find and replace utility would be best so that I can run it on each of the 6 servers and set it to replace the file.
  5. Thrackan

    Thrackan

    Joined:
    Oct 10, 2008
    Messages:
    3,471 (1.72/day)
    Thanks Received:
    655
    Is what you are looking for not possible with a Group Policy?
  6. freebie

    freebie New Member

    Joined:
    Oct 18, 2010
    Messages:
    181 (0.14/day)
    Thanks Received:
    13
    Location:
    Walsall
    We tried with group policy, but because we are running an RM CC3 network which has lots of extra security policys on it and lots of pretty interfaces for doing things we can't get it to work through GPO's.
  7. Thrackan

    Thrackan

    Joined:
    Oct 10, 2008
    Messages:
    3,471 (1.72/day)
    Thanks Received:
    655
    You might be able to do it with a batch/powerscript, but you would need a list of hosts, and those profiles need to be accessible from the network.

    Then basically script the following in a foreach loop, iterating your list of hosts:
    - do a find in \\$HOST\$PROFILEDIR\ for the filename
    - copy file to each found path
    freebie says thanks.
  8. freebie

    freebie New Member

    Joined:
    Oct 18, 2010
    Messages:
    181 (0.14/day)
    Thanks Received:
    13
    Location:
    Walsall

    ---

    Problem we've got is that the powers above us, want it doing yesterday!!!!!!

    We were looking at something like "Global Find" but that only does text.
  9. Thrackan

    Thrackan

    Joined:
    Oct 10, 2008
    Messages:
    3,471 (1.72/day)
    Thanks Received:
    655
    That's not a problem, that's what they always want. Ignore that as much as you can.

    Either way, a simple batch of powerscript should be able to do what you want.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guest)

Share This Page