Skip to content

AlexMelanFromRingo/metadata-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Metadata Editor

A powerful CLI tool for viewing and editing file metadata. Supports images (EXIF), audio files (ID3/Vorbis/etc), and PDF documents.

Features

  • Multi-format support: Images, Audio, PDF
  • File system metadata: View and modify creation/modification/access dates
  • EXIF editing: Read and write EXIF tags in images
  • Audio tags: Full support for MP3, FLAC, OGG, Opus, M4A, AAC, WAV, AIFF, APE, WavPack
  • Cover art: Extract or embed album artwork
  • PDF metadata: Edit title, author, subject, keywords
  • Batch processing: Process multiple files at once
  • Recursive directory scanning: Process entire folders
  • JSON export: Export metadata to JSON format
  • Drag & drop: Simply drag files onto the executable

Supported Formats

Type Formats Capabilities
Images JPEG, TIFF, PNG, WebP, HEIC Read/write EXIF (author, copyright, description, software)
Audio MP3, FLAC, OGG, Opus, M4A, AAC, WAV, AIFF, APE, WavPack Read/write tags, extract/embed cover art
PDF PDF Read/write metadata (title, author, subject, keywords)
All files * View/modify filesystem timestamps

Installation

From source

git clone https://github.com/AlexMelanFromRingo/metadata-editor
cd metadata-editor
cargo build --release

The binary will be at target/release/metadata-editor.

Usage

Single file

metadata-editor photo.jpg
metadata-editor song.mp3
metadata-editor document.pdf

Multiple files (batch mode)

metadata-editor *.mp3
metadata-editor file1.jpg file2.jpg file3.jpg

Directory (recursive)

metadata-editor ~/Pictures
metadata-editor /path/to/music/folder

Drag & Drop

On Windows/macOS/Linux with GUI, simply drag files or folders onto the executable.

Screenshots

Main Menu

╔══════════════════════════════════════════════════╗
║              РЕДАКТОР МЕТАДАННЫХ                 ║
╚══════════════════════════════════════════════════╝

Файл: photo.jpg
Тип:  Изображение

--- [Файловая система] ---
  Изменён: 2024-01-15 14:30:00
  Создан:  2024-01-10 09:00:00
  Размер:  2.5 MB (2621440 байт)

--- [EXIF метаданные] ---
  Производитель: Canon
  Модель камеры: Canon EOS R5
  Дата съёмки:   2024:01:15 14:30:00
  ISO:           100
  Диафрагма:     f/2.8

JSON Export

Export metadata to JSON for processing or backup:

[
  {
    "path": "/path/to/photo.jpg",
    "file_type": "Изображение",
    "size_bytes": 2621440,
    "size_human": "2.50 MB",
    "modified": "2024-01-15 14:30:00",
    "exif": {
      "make": "Canon",
      "model": "Canon EOS R5",
      "datetime_original": "2024:01:15 14:30:00",
      "iso": "100",
      "f_number": "f/2.8"
    }
  }
]

Dependencies

License

MIT

About

Multi-format metadata viewer and editor for images, audio, and PDF files

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages