界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
数据与研究 · SKILL.md

remove-photo-metadata

remove-photo-metadata

【数据与研究】Strip all metadata from images for privacy

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: remove-photo-metadata description: Strip all metadata from images for privacy metadata: author: ian.zo.computer category: Community display-name: Remove Photo Metadata emoji: 🔒

Remove Photo Metadata

Purpose

Remove all metadata (Location, EXIF, GPS, camera info, etc.) from photos to protect your privacy before sharing them.

Input

  • Path to the photo file(s) you want to clean

Steps

  1. Install exiftool:
apt-get update && apt-get install -y exiftool
  1. Remove all metadata from the photo(s):
# For a single photo
exiftool -all= "<user's_photo_path>"

# For multiple photos in a directory
exiftool -all= -r "<user's_directory_path>"

# To overwrite originals without creating backups (use with caution)
exiftool -all= -overwrite_original "<user's_photo_path>"
  1. Tell the user that all metadata has been removed. Note that by default, exiftool creates backup files with "_original" suffix.

Note

This removes ALL metadata including camera settings, timestamps, GPS coordinates, and any other embedded information from the photos.

我的收藏