![]() |
|
|
#1 |
![]() Join Date: Oct 2010
Location: Walsall
Posts: 171 (0.18/day)
Thanks: 111
Thanked 13 Times in 13 Posts
|
find and replace application
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 |
![]() Join Date: Oct 2008
Location: The Netherlands
Posts: 3,159 (1.87/day)
Thanks: 234
Thanked 652 Times in 533 Posts
|
Lots of locations = multiple servers? Multiple OS?
Something like a sync service? |
|
|
|
| The Following User Says Thank You to Thrackan For This Useful Post: |
|
|
#3 |
![]() Join Date: Feb 2006
Posts: 4,058 (1.53/day)
Thanks: 2,249
Thanked 542 Times in 443 Posts
|
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. |
|
|
|
| The Following User Says Thank You to yogurt_21 For This Useful Post: |
|
|
#4 |
![]() Join Date: Oct 2010
Location: Walsall
Posts: 171 (0.18/day)
Thanks: 111
Thanked 13 Times in 13 Posts
|
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 |
![]() Join Date: Oct 2008
Location: The Netherlands
Posts: 3,159 (1.87/day)
Thanks: 234
Thanked 652 Times in 533 Posts
|
Is what you are looking for not possible with a Group Policy?
|
|
|
|
|
|
#6 |
![]() Join Date: Oct 2010
Location: Walsall
Posts: 171 (0.18/day)
Thanks: 111
Thanked 13 Times in 13 Posts
|
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 |
![]() Join Date: Oct 2008
Location: The Netherlands
Posts: 3,159 (1.87/day)
Thanks: 234
Thanked 652 Times in 533 Posts
|
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 |
|
|
|
| The Following User Says Thank You to Thrackan For This Useful Post: |
|
|
#8 | |
![]() Join Date: Oct 2010
Location: Walsall
Posts: 171 (0.18/day)
Thanks: 111
Thanked 13 Times in 13 Posts
|
Quote:
--- 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 | |
![]() Join Date: Oct 2008
Location: The Netherlands
Posts: 3,159 (1.87/day)
Thanks: 234
Thanked 652 Times in 533 Posts
|
Quote:
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 guests) | |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| BAT file/Script to find and replace files | NinjaNife | Programming & Webmastering | 12 | Apr 14, 2012 10:09 PM |
| Help With Find and Replace | TIGR | General Software | 10 | Apr 13, 2012 02:47 AM |
| Snippet C#: Find/Replace | FordGT90Concept | Programming & Webmastering | 0 | Oct 26, 2008 06:32 AM |
| Thermal Paste application and removal questions | Mastablasta | Overclocking & Cooling | 2 | Sep 28, 2008 05:18 AM |
| Replace of mobo and cpu | Snipe343 | General Hardware | 3 | Jan 1, 2008 10:18 PM |