日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

mac下用xattr命令来删除文件的扩展属性

發布時間:2023/12/10 编程问答 29 豆豆
生活随笔 收集整理的這篇文章主要介紹了 mac下用xattr命令来删除文件的扩展属性 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

mac下發現不能用記事本打開文本文件,ls -la 發現格式后面有個@

?

[plain]?view plain?copy
  • wenke-mini:changeServer?wenke$?ls?-la??
  • total?144??
  • drwxr-xr-x??20?wenke??staff????680??6??4?16:37?.??
  • drwxr-xr-x??22?wenke??staff????748??6??3?16:54?..??
  • -rw-r--r--@??1?wenke??staff??39940??6??4?16:37?.DS_Store??
  • drwxr-xr-x???8?wenke??staff????272??3?27?11:44?103??
  • drwxr-xr-x???6?wenke??staff????204??3?27?13:56?110??
  • drwxr-xr-x???7?wenke??staff????238??3?27?11:44?215??
  • drwxr-xr-x???7?wenke??staff????238??6??4?16:37?215_110??
  • drwxr-xr-x???8?wenke??staff????272??5?30?13:38?225??
  • drwxr-xr-x???8?wenke??staff????272??3?27?11:44?225_110??
  • -rwxr-xr-x???1?wenke??staff????950??4??2?18:39?changeServerTo110??
  • -rwxr-xr-x???1?wenke??staff???1351??4??2?15:46?changeServerTo215??
  • -rwxr-xr-x@??1?wenke??staff???1474??5??2?13:10?changeServerTo225??
  • -rwxr-xr-x???1?wenke??staff????960??4?17?16:31?changeServerTo225_110??
  • -rwxr-xr-x@??1?wenke??staff???1474??5??6?20:26?changeServerToHome??
  • -rwxr-xr-x???1?wenke??staff????933??4?17?16:31?changeServerTos1??
  • -rwxr-xr-x???1?wenke??staff????936??4??2?18:39?changeServerTos1_pop??
  • ?

    goole了一下,用xattr命令可以查看和刪除這個@.

    [plain]?view plain?copy
  • wenke-mini:changeServer?wenke$?xattr?-l?*??
  • changeServerTo225:?com.apple.quarantine:?0002;53589829;QQ;??
  • changeServerToHome:?com.apple.quarantine:?0042;53589829;QQ;??
  • ?

    [plain]?view plain?copy
  • wenke-mini:changeServer?wenke$?xattr?-c?changeServerTo225??
  • wenke-mini:changeServer?wenke$?xattr?-c?changeServerToHome??
  • ?

    [plain]?view plain?copy
  • wenke-mini:changeServer?wenke$?ls?-l??
  • total?64??
  • drwxr-xr-x??8?wenke??staff???272??3?27?11:44?103??
  • drwxr-xr-x??6?wenke??staff???204??3?27?13:56?110??
  • drwxr-xr-x??7?wenke??staff???238??3?27?11:44?215??
  • drwxr-xr-x??7?wenke??staff???238??6??4?16:37?215_110??
  • drwxr-xr-x??8?wenke??staff???272??5?30?13:38?225??
  • drwxr-xr-x??8?wenke??staff???272??3?27?11:44?225_110??
  • -rwxr-xr-x??1?wenke??staff???950??4??2?18:39?changeServerTo110??
  • -rwxr-xr-x??1?wenke??staff??1351??4??2?15:46?changeServerTo215??
  • -rwxr-xr-x??1?wenke??staff??1474??5??2?13:10?changeServerTo225??
  • -rwxr-xr-x??1?wenke??staff???960??4?17?16:31?changeServerTo225_110??
  • -rwxr-xr-x@?1?wenke??staff??1474??5??6?20:26?changeServerToHome??
  • -rwxr-xr-x??1?wenke??staff???933??4?17?16:31?changeServerTos1??
  • -rwxr-xr-x??1?wenke??staff???936??4??2?18:39?changeServerTos1_pop??
  • 轉載于:https://www.cnblogs.com/exmyth/p/7887210.html

    總結

    以上是生活随笔為你收集整理的mac下用xattr命令来删除文件的扩展属性的全部內容,希望文章能夠幫你解決所遇到的問題。

    如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。