techPowerUp! Forums

Go Back   techPowerUp! Forums > Software > General Software

Reply
 
Thread Tools
Old Nov 15, 2011, 02:12 PM   #1
freebie
75 Posts
 
freebie's Avatar
 
Join Date: Oct 2010
Location: Walsall
Posts: 171 (0.18/day)
Thanks: 111
Thanked 13 Times in 13 Posts

System Specs

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!
__________________
------------------------------------------------------------------------

freebie is offline  
Reply With Quote
Old Nov 15, 2011, 02:52 PM   #2
Thrackan
2000 Posts
 
Thrackan's Avatar
 
Join Date: Oct 2008
Location: The Netherlands
Posts: 3,159 (1.87/day)
Thanks: 234
Thanked 652 Times in 533 Posts

System Specs

Lots of locations = multiple servers? Multiple OS?

Something like a sync service?
Thrackan is offline  
Reply With Quote
The Following User Says Thank You to Thrackan For This Useful Post:
Old Nov 15, 2011, 04:43 PM   #3
yogurt_21
3500 Posts
 
yogurt_21's Avatar
 
Join Date: Feb 2006
Posts: 4,058 (1.53/day)
Thanks: 2,249
Thanked 542 Times in 443 Posts

System Specs

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.
yogurt_21 is offline  
Reply With Quote
The Following User Says Thank You to yogurt_21 For This Useful Post:
Old Nov 16, 2011, 06:16 AM   #4
freebie
75 Posts
 
freebie's Avatar
 
Join Date: Oct 2010
Location: Walsall
Posts: 171 (0.18/day)
Thanks: 111
Thanked 13 Times in 13 Posts

System Specs

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.
__________________
------------------------------------------------------------------------

freebie is offline  
Reply With Quote
Old Nov 16, 2011, 07:18 AM   #5
Thrackan
2000 Posts
 
Thrackan's Avatar
 
Join Date: Oct 2008
Location: The Netherlands
Posts: 3,159 (1.87/day)
Thanks: 234
Thanked 652 Times in 533 Posts

System Specs

Is what you are looking for not possible with a Group Policy?
Thrackan is offline  
Reply With Quote
Old Nov 16, 2011, 07:26 AM   #6
freebie
75 Posts
 
freebie's Avatar
 
Join Date: Oct 2010
Location: Walsall
Posts: 171 (0.18/day)
Thanks: 111
Thanked 13 Times in 13 Posts

System Specs

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.
__________________
------------------------------------------------------------------------

freebie is offline  
Reply With Quote
Old Nov 16, 2011, 07:38 AM   #7
Thrackan
2000 Posts
 
Thrackan's Avatar
 
Join Date: Oct 2008
Location: The Netherlands
Posts: 3,159 (1.87/day)
Thanks: 234
Thanked 652 Times in 533 Posts

System Specs

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
Thrackan is offline  
Reply With Quote
The Following User Says Thank You to Thrackan For This Useful Post:
Old Nov 16, 2011, 08:40 AM   #8
freebie
75 Posts
 
freebie's Avatar
 
Join Date: Oct 2010
Location: Walsall
Posts: 171 (0.18/day)
Thanks: 111
Thanked 13 Times in 13 Posts

System Specs

Quote:
Originally Posted by Thrackan View Post
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

---

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.
__________________
------------------------------------------------------------------------

freebie is offline  
Reply With Quote
Old Nov 16, 2011, 10:14 AM   #9
Thrackan
2000 Posts
 
Thrackan's Avatar
 
Join Date: Oct 2008
Location: The Netherlands
Posts: 3,159 (1.87/day)
Thanks: 234
Thanked 652 Times in 533 Posts

System Specs

Quote:
Originally Posted by freebie View Post
---

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.
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.
Thrackan is offline  
Reply With Quote
Reply


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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT. The time now is 05:40 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
no new posts