Microsoft
Software
Hardware
Network
Question : Finding and Replacing a File using Bash
Hello all,
I have several joomla web sites on a server that use a component that contains a file that needs to be updated. The updated file is contained in root's home directory and is called directions.html.php
The web directories are contained in /home/www
I need to write a bash script or equivalent that will go down the home/www tree look for directions.html.php and replace it with the one that is /root/directions.html.php.
This file is found in the follow directory structure:
/home/www/
www.somewebsite.
com/web/co
mponents/c
om_directi
ons/
direct
ions.php.h
tml
I am not a Bash programmer, so any help with this would be greatly appreciated.
Answer : Finding and Replacing a File using Bash
My command verbosely prints what is happening, just redirect to txt file " command >> the/log/file/txt "
Random Solutions
can't export my access database because the file is read only?
Converting/editing avi,mpg,mov,rm (real play files) and mp4??
Create Desktop Shortcut on Remote PC?
Redirect user shortcuts to new server name?
A few questions about the Route table
Internet explorer crash, Flash
SMTP Service uses all bandwidth
IIS Virtual Directory Management for SQLXML 3.0
Error when trying to move database path
WSS 3.0 & OWA 2007 -> Linking calendars???