Bicycling, Photography and Programming

Bitratchet

Post navigation

« Did you know about e4defrag?
Finding the Offending Directories | FreedomPenguin »

Applying patches?

November 20, 2015 by jedreynolds

You know me, I love using bash.

for f in ~/Documents/jbr_patches/*diff  ; do \
   echo $f; patch -p1 < $f || exit 1; \
sleep 1 ; done

Right.

Rate this:

please share

  • Share
  • Twitter
  • Email
  • LinkedIn
  • Facebook
  • Reddit
  • Print

Like this:

Like Loading...

Related

This Post was posted in computing, Linux, Programming, Uncategorized and tagged bash, diff, for-loop, patch. Bookmark the permalink.

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 669 other followers

Create a free website or blog at WordPress.com.
loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
%d bloggers like this: