GM Takumirai Posted November 22, 2012 Group: Members Topic Count: 69 Topics Per Day: 0.01 Content Count: 592 Reputation: 31 Joined: 11/14/11 Last Seen: July 29, 2015 Share Posted November 22, 2012 (edited) how could i patch a diff files using putty.exe - do i need to login on WinCP to put the .diff files or .patch??.. what if i put it in cd /home/updates/patchfile and my server files located at cd /home/ra - how do i patch it? i can't understand this part Linux: cd /path/to/your/server/folder patch -p0 < /path/to/patch/file/filename.extension cd /home/ra patch -p0 /home/updates/patchfile - i did that in putty.exe but nothing happens Edited November 22, 2012 by GM Takumirai Quote Link to comment Share on other sites More sharing options...
Lighta Posted November 22, 2012 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 737 Reputation: 216 Joined: 11/29/11 Last Seen: December 20, 2020 Share Posted November 22, 2012 you forget the "<" wich in this case mean read. so try cd /home/ra && patch -p0 < /home/updates/patchfile or just patch -p0 /home/ra/myfiletarget /home/updates/patchfile 1 Quote Link to comment Share on other sites More sharing options...
Question
GM Takumirai
how could i patch a diff files using putty.exe
- do i need to login on WinCP to put the .diff files or .patch??..
what if i put it in cd /home/updates/patchfile
and my server files located at cd /home/ra
- how do i patch it?
i can't understand this part
Linux:
cd /path/to/your/server/folder
patch -p0 < /path/to/patch/file/filename.extension
cd /home/ra patch -p0 /home/updates/patchfile
- i did that in putty.exe but nothing happens
Edited by GM TakumiraiLink to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.