Techsquirrel's Blogspot
A place to squirrel away tech stuff
March 13, 2012
Suppress diff Missing File Messages
To suppress the missing file messages
diff
generates when creating a patch for multiple files, just filter them out with
grep
. For example:
diff -rc olddir newdir | grep -v -e "^Only in" > diffs.patch
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment