<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>NFS on Fran Kuo | R&amp;D Leadership</title>
    <link>https://chenfu.ai/en/tags/nfs/</link>
    <description>Recent content in NFS on Fran Kuo | R&amp;D Leadership</description>
    <generator>Hugo -- 0.157.0</generator>
    <language>en</language>
    <lastBuildDate>Mon, 04 Feb 2013 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://chenfu.ai/en/tags/nfs/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Linux Engineering Utility Cheatsheet</title>
      <link>https://chenfu.ai/en/posts/linux-utility-quick-notes/</link>
      <pubDate>Mon, 04 Feb 2013 00:00:00 +0000</pubDate>
      <guid>https://chenfu.ai/en/posts/linux-utility-quick-notes/</guid>
      <description>&lt;p&gt;A quick compilation of useful commands and configurations I frequently use in my daily operations.&lt;/p&gt;
&lt;h3 id=&#34;working-with-patches&#34;&gt;Working with Patches&lt;/h3&gt;
&lt;p&gt;To generate a patch from a single file or directory:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;diff -Naur &lt;span style=&#34;color:#f92672&#34;&gt;[&lt;/span&gt;from-file&lt;span style=&#34;color:#f92672&#34;&gt;]&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;[&lt;/span&gt;to-file&lt;span style=&#34;color:#f92672&#34;&gt;]&lt;/span&gt; &amp;gt; &lt;span style=&#34;color:#f92672&#34;&gt;[&lt;/span&gt;YourFileName.patch&lt;span style=&#34;color:#f92672&#34;&gt;]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ul&gt;
&lt;li&gt;&lt;code&gt;-N&lt;/code&gt;: Treat absent files as empty.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;-a&lt;/code&gt;: Treat all files as text.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;-u&lt;/code&gt;: Unified output format (best for readability).&lt;/li&gt;
&lt;li&gt;&lt;code&gt;-r&lt;/code&gt;: Recursive directory comparison.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;version-control-cleanup&#34;&gt;Version Control Cleanup&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Removing all &lt;code&gt;.svn&lt;/code&gt; directories recursively:&lt;/strong&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;rm -rf &lt;span style=&#34;color:#e6db74&#34;&gt;`&lt;/span&gt;find . -type d -name .svn&lt;span style=&#34;color:#e6db74&#34;&gt;`&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;strong&gt;Removing Git Metadata:&lt;/strong&gt;
In a Git repository, simply deleting the root &lt;code&gt;.git&lt;/code&gt; directory is usually sufficient to remove history and configuration.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
