<?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>檔案存取 &#8211; 這世上 沒有偶然 只有必然</title>
	<atom:link href="https://wordpress.lokidea.com/tag/%e6%aa%94%e6%a1%88%e5%ad%98%e5%8f%96/feed/" rel="self" type="application/rss+xml" />
	<link>https://wordpress.lokidea.com</link>
	<description>幻幽的小小分享區</description>
	<lastBuildDate>Sat, 07 Aug 2021 14:23:26 +0000</lastBuildDate>
	<language>zh-TW</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>項目 正由 macOS 所使用 所以無法打開</title>
		<link>https://wordpress.lokidea.com/2233/%e9%a0%85%e7%9b%ae-%e6%ad%a3%e7%94%b1-macos-%e6%89%80%e4%bd%bf%e7%94%a8-%e6%89%80%e4%bb%a5%e7%84%a1%e6%b3%95%e6%89%93%e9%96%8b/</link>
					<comments>https://wordpress.lokidea.com/2233/%e9%a0%85%e7%9b%ae-%e6%ad%a3%e7%94%b1-macos-%e6%89%80%e4%bd%bf%e7%94%a8-%e6%89%80%e4%bb%a5%e7%84%a1%e6%b3%95%e6%89%93%e9%96%8b/#respond</comments>
		
		<dc:creator><![CDATA[Barney Chen]]></dc:creator>
		<pubDate>Sat, 07 Aug 2021 14:23:25 +0000</pubDate>
				<category><![CDATA[偶然]]></category>
		<category><![CDATA[分享]]></category>
		<category><![CDATA[MacOS]]></category>
		<category><![CDATA[檔案存取]]></category>
		<guid isPermaLink="false">https://wordpress.lokidea.com/?p=2233</guid>

					<description><![CDATA[今天把影片檔案移動到 NTFS 硬碟上面，然後重新掛載硬碟後，發現檔案都變成灰色，用播放程式打開，就跳訊息『項 &#8230; <a href="https://wordpress.lokidea.com/2233/%e9%a0%85%e7%9b%ae-%e6%ad%a3%e7%94%b1-macos-%e6%89%80%e4%bd%bf%e7%94%a8-%e6%89%80%e4%bb%a5%e7%84%a1%e6%b3%95%e6%89%93%e9%96%8b/" class="more-link">閱讀全文 <span class="screen-reader-text">項目 正由 macOS 所使用 所以無法打開</span></a>]]></description>
										<content:encoded><![CDATA[
<p>今天把影片檔案移動到 NTFS 硬碟上面，然後重新掛載硬碟後，發現檔案都變成灰色，用播放程式打開，就跳訊息『項目 {檔名} 正由macOS所使用，所以無法打開』，上網查了一下，發現是Mac註記了訊息在檔案裡面。</p>



<p>主要是參考這篇 <a rel="noreferrer noopener" href="https://ningselect.com/20819/16/" target="_blank">NAS / 外接硬碟檔案反灰無法存取？只要兩行指令就能快速修復</a></p>



<p>先查查檔案</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow"><p>ls -l {檔名，可以直接輸入或拉動檔案到終端機裡面}</p><cite>先查一下檔案是不是因為多一個註記，權限的後面，會有一個 ＠ 就是多一段註記</cite></blockquote>



<p>再查一下檔案的附註訊息是什麼</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow"><p>xattr -l {檔名}</p><cite>查出的內容就可以用來刪除， 我是拉出 com.apple.FinderInfo</cite></blockquote>



<p>接下來是要刪除註記 <meta charset="utf-8">com.apple.FinderInfo</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow"><p>xattr -d {需要刪除的註記，我的是 com.apple.FinderInfo} {檔名&#8230;s}</p><cite>把指定檔案裡面的註記給刪除。（檔案可以一次拉很多個，這樣比較快）</cite></blockquote>



<p>這次遇到問題應該這樣就解決了。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://wordpress.lokidea.com/2233/%e9%a0%85%e7%9b%ae-%e6%ad%a3%e7%94%b1-macos-%e6%89%80%e4%bd%bf%e7%94%a8-%e6%89%80%e4%bb%a5%e7%84%a1%e6%b3%95%e6%89%93%e9%96%8b/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
