HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

mat2 — Anonymise various file formats by removing metadata. More information: <https://0xacab.org/jvoisin/m

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandvariousmat2formatsremovingclianonymisefile

Problem

How to use the mat2 command: Anonymise various file formats by removing metadata. More information: <https://0xacab.org/jvoisin/mat2>.

Solution

mat2 — Anonymise various file formats by removing metadata. More information: <https://0xacab.org/jvoisin/mat2>.

List supported file formats:
mat2 --list


Remove metadata from a file:
mat2 {{path/to/file}}


Remove metadata from a file and print detailed output to the console:
mat2 --verbose {{path/to/file}}


Show metadata in a file without removing it:
mat2 --show {{path/to/file}}


Partially remove metadata from a file:
mat2 --lightweight {{path/to/file}}


Remove metadata from a file in place, without creating a backup:
mat2 --inplace {{path/to/file}}

Code Snippets

List supported file formats

mat2 --list

Remove metadata from a file

mat2 {{path/to/file}}

Remove metadata from a file and print detailed output to the console

mat2 --verbose {{path/to/file}}

Show metadata in a file without removing it

mat2 --show {{path/to/file}}

Partially remove metadata from a file

mat2 --lightweight {{path/to/file}}

Context

tldr-pages: common/mat2

Revisions (0)

No revisions yet.