[Script] Delete ._* metadata files (on macOS)

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
User avatar
rednoah
The Source
Posts: 24009
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

[Script] Delete ._* metadata files (on macOS)

Post by rednoah »

This post-processing script uses the dot_clean command to delete ._* dot underbar files:

Groovy: Select all

{ source, target ->
	system 'dot_clean', '-mvf', target.dir
}

:!: macOS may create ._* dot underbar files to store Finder information, Unix permissions and xattr metadata when processing files on an external USB flash drive that is formatted with FAT or exFAT. Please read Re: Dot files and AppleSingle and AppleDouble formats for details.
:idea: Please read the FAQ and How to Request Help.
Post Reply