renamer-media-date-time
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

renamer-media-date-time

This is a renamer replace chain plugin - see this tutorial to learn how to use renamer plugins.

Replaces the filename of image and video files with the creation date in the following format: yyyyMMdd_HHmmss.{ext} based on EXIF data.

⚠️ Requires exiftool to be installed.

Install

npm install -g renamer renamer-media-date-time

Usage

Remove the --dry-run flag to rename the files on disk.

Supported file formats: .jpg, .png, .gif, .bmp, .heic, .mp4, .mov.

$ tree
.
├── one.jpg
└── two.mp4

0 directories, 2 files

$ renamer --chain renamer-media-date-time --dry-run *

✔︎ one.jpg → 20240429_132557.jpg
✔︎ two.mp4 → 20240429_132557.mp4

Rename complete: 2 of 2 files renamed.

$ tree -N
.
├── 20240429_132557.jpg
└── 20240429_132557.mp4

0 directories, 2 files

Readme

Keywords

Package Sidebar

Install

npm i renamer-media-date-time

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

14.8 kB

Total Files

8

Last publish

Collaborators

  • robert-wettstaedt