<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>lrzsz &#8211; 良的世界</title>
	<atom:link href="https://www.lemonary.cn/tag/lrzsz/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.lemonary.cn</link>
	<description></description>
	<lastBuildDate>Thu, 12 Dec 2024 05:07:36 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://www.lemonary.cn/wp-content/uploads/2024/12/profile-150x150.jpg</url>
	<title>lrzsz &#8211; 良的世界</title>
	<link>https://www.lemonary.cn</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Linux服务器与本地进行文件传输</title>
		<link>https://www.lemonary.cn/linux%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%8e%e6%9c%ac%e5%9c%b0%e8%bf%9b%e8%a1%8c%e6%96%87%e4%bb%b6%e4%bc%a0%e8%be%93/</link>
					<comments>https://www.lemonary.cn/linux%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%8e%e6%9c%ac%e5%9c%b0%e8%bf%9b%e8%a1%8c%e6%96%87%e4%bb%b6%e4%bc%a0%e8%be%93/#respond</comments>
		
		<dc:creator><![CDATA[shine]]></dc:creator>
		<pubDate>Tue, 10 Dec 2024 03:18:58 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[lrzsz]]></category>
		<guid isPermaLink="false">https://www.lemonary.cn/?p=929</guid>

					<description><![CDATA[有时我们需要在Linux服务器和本地物理机之间进行文件传输，如果我们本地没有安装相关功能的软件，就可以用到这个 [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">有时我们需要在Linux服务器和本地物理机之间进行文件传输，如果我们本地没有安装相关功能的软件，就可以用到这个方法。</p>



<p class="wp-block-paragraph">在Linux上安装软件包lrzsz</p>



<pre class="wp-block-code"><code>yum -y install lrzsz</code></pre>



<p class="wp-block-paragraph">利用<code>rz</code>和<code>sz</code>分别进行文件的接收和发送。</p>



<ul class="wp-block-list">
<li><code>rz</code>中的r意为received（接收），输入<code>rz</code>意为服务器接收文件，即将文件从本地上传到服务器。</li>



<li><code>sz</code>中的s意为send（发送），输入<code>sz</code>意为服务器要发送文件，即从服务器发送文件到本地。</li>
</ul>



<p class="wp-block-paragraph"><strong>演示</strong></p>



<p class="wp-block-paragraph">输入 <code>sz learn</code>，会弹出窗口，将learn文件传到本地</p>



<figure class="wp-block-image size-full"><img fetchpriority="high" decoding="async" width="582" height="686" src="https://www.lemonary.cn/wp-content/uploads/2024/12/image-58.png" alt="" class="wp-image-934" srcset="https://www.lemonary.cn/wp-content/uploads/2024/12/image-58.png 582w, https://www.lemonary.cn/wp-content/uploads/2024/12/image-58-255x300.png 255w" sizes="(max-width: 582px) 100vw, 582px" /></figure>



<p class="wp-block-paragraph">输入 rz 回车，也会弹出窗口，选取本地文件传到服务器上</p>



<figure class="wp-block-image size-full"><img decoding="async" width="832" height="690" src="https://www.lemonary.cn/wp-content/uploads/2024/12/image-57.png" alt="" class="wp-image-932" srcset="https://www.lemonary.cn/wp-content/uploads/2024/12/image-57.png 832w, https://www.lemonary.cn/wp-content/uploads/2024/12/image-57-300x249.png 300w, https://www.lemonary.cn/wp-content/uploads/2024/12/image-57-768x637.png 768w" sizes="(max-width: 832px) 100vw, 832px" /></figure>



<p class="wp-block-paragraph">这就是lrzsz包的用法。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.lemonary.cn/linux%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%8e%e6%9c%ac%e5%9c%b0%e8%bf%9b%e8%a1%8c%e6%96%87%e4%bb%b6%e4%bc%a0%e8%be%93/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
