GM Takumirai Posted November 22, 2012 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
Lighta Posted November 22, 2012 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
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 Takumirai1 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.