0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【Mac】コマンドでファイルにタグをつける方法

Last updated at Posted at 2025-03-06

タグをつける

以下のコマンドを実行すると赤のタグをつけられます。

xattr -wx com.apple.FinderInfo "0000000000000000000D00000000000000000000000000000000000000000000" file.txt

screen-shot-23.png

タグを外す

タグを外すには以下のコマンドを実行します。

xattr -c filename

screen-shot-24.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?