Skip to content
TheChatArchiveThe Chat Archive
o4-mini-2025-04-16· OpenAIHugging Face LMArena Human Preference 140K

Give me a command for exiftool to remove the EXIF

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with Metallama-4-maverick-03-26-experimental’s answer.
  1. User

    Give me a command for exiftool to remove the EXIF

  2. Assistant

    Here are a few common ways to strip EXIF (or all) metadata with exiftool. Just pick the one that fits your use case:

    1. Remove all metadata from a single file (no backup):
    exiftool -all= -overwrite_original photo.jpg
    
    1. Remove only the EXIF tags (leave other metadata intact):
    exiftool -EXIF:all= -overwrite_original photo.jpg
    
    1. Process all JPEGs in the current folder (no backup):
    exiftool -all= -overwrite_original *.jpg
    
    1. Recursively strip all metadata in a directory tree (no backup):
    exiftool -all= -overwrite_original -r /path/to/images
    

    Notes

    • By default exiftool keeps a “filename.ext_original” backup. The -overwrite_original flag suppresses that.
    • Always test on a copy first if you need to preserve originals!

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.