How to change a line in a rsync script and send the file changed
Hello my friends,
I'm configuring an rsync between 2 machines, A_Server --> B_Server, using the following script: Code:
#!/bin/bash sed is a good choice, but no clue how to put all together in the same script...i would appreciate your help :) BEST REGARDS!!! |
Quote:
There are two utilities called diff and patch. With diff you can find the diferrences between two files. And patch is used to apply these differences. There is and explanation in this link. http://stephenjungels.com/jungels.ne...n-minutes.html Regards |
All times are GMT -5. The time now is 05:10 AM. |