2013년 1월 29일 화요일

diff patch

A 원본 폴더
B 수정된 폴더
C 패치할 폴더

1. B로 이동

diff -urN A B > patch.diff

B로 이동했기 때문에 A의 경로는 길테고 B는 ./이 될꺼다.

2. 패치할 경로로 이동

patch -p0 > patch.diff

p0가 될 수 있는건 수정된 폴더에서 패치 파일을 만들었기 때문
한칸 위 폴더에서 했으면 -p1
(계산하기 귀찮아서 패치할 폴더에 가서 만든거임)

댓글 없음:

댓글 쓰기

국정원의 댓글 공작을 지탄합니다.

UPBIT is a South Korean company, and people died of suicide cause of coin investment.

 UPBIT is a South Korean company, and people died of suicide cause of coin. The company helps the people who control the market price manipu...