https://github.com/ozzi-/metacleaner
clean metadata in a batch job manner
https://github.com/ozzi-/metacleaner
cleaner exif metadata osint pdf stripper
Last synced: 5 months ago
JSON representation
clean metadata in a batch job manner
- Host: GitHub
- URL: https://github.com/ozzi-/metacleaner
- Owner: ozzi-
- License: gpl-3.0
- Created: 2020-05-27T14:51:10.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2025-04-10T14:48:26.000Z (about 1 year ago)
- Last Synced: 2025-10-22T11:43:46.339Z (8 months ago)
- Topics: cleaner, exif, metadata, osint, pdf, stripper
- Language: Java
- Homepage:
- Size: 236 KB
- Stars: 3
- Watchers: 0
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README



# metacleaner
metacleaner will remove metadata of the following filetypes:
- jpg
- png
- pdf
- odt, ods, odp
- doc, xls, ppt
- docx, xlsx
- xml
## Usage
```
usage: java -jar metacleaner.jar
-i,--input input file / directory path *
-s,--suffix suffix of output file
-f,--filetype override file ending in file path with this parameter
-h,--harsh remove ALL metadata, such as potentially harmless
data (i.E. title and subject)
-o,--overwrite overwrite input file
-r,--recursive search for files recursively if input path is a
directory
```
## Example
```
$ java -jar metacleaner.jar -i C:\Users\ozzi\Desktop\example\
metacleaner 1.0 - github.com/ozzi-/metacleaner
----------------------------------------------
\_ input path is a directory - won't scan recursively
|_ 'custom_properties.xlsx'
|_ cleaned document (stripped 366 B) successfully written to 'C:\Users\ozzi\Desktop\example\custom_properties_cleaned.xlsx'
|_ 'custom_properties_cleaned.xlsx'
|_ skipping 'C:\Users\ozzi\Desktop\example\custom_properties_cleaned.xlsx' as assumed it was already cleaned (ends with suffix '_cleaned')
|_ 'd'
|_ skipping 'C:\Users\ozzi\Desktop\example\d' - requiring a file ending (no dot found)
|_ 'd.txt'
|_ metacleaner does not (yet - feel free to open a GitHub issue) support the file type 'txt'. If the file ending differs the actual file type, use the -f option.
|_ 'dd.xml'
|_ cleaned document (stripped 815 B) successfully written to 'C:\Users\ozzi\Desktop\example\dd_cleaned.xml'
\_ cleaned 2 of 4 files
```