Skip to content

davidrenne/mediaRenamerToTimestamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mediaRenamerToTimestamp

Tool to re-name recursively media files (all image types and MP4 and MOV files). e.g. 1997-05-01 12.15.33.jpg so that they sort properly on a normal filesystem (mac/windows/linux)

Reasoning

I am a huge dropbox fan of how they sync multiple phone files and digital camera cards and rename to this format. I use the free 2GB account to sync my wife's phone and mine and 1 desktop as a staging area to sync to google photos and my folder based storage. But I wanted my own way to rename files so I wrote this out of necessity to clean up some of my media collection of family photos.

Once you start having files renamed to their date taken, you will never like seeing a mix of IMG_1234.JPG and stuff out of order of the order in which things happened IRL.

Usage

To start, clone the repo:

go install github.com/davidrenne/mediaRenamerToTimestamp@02902b80b3750b2c2f7ed65ecde8f6d08c74ed20

mediaRenamerToTimestamp "/Users/yourusername/Photos/YourFiles/"

Or pass a custom timestamp format using any format using these date times such as RFC850 example below:

mediaRenamerToTimestamp "/Users/yourusername/Photos/YourFiles/" "Monday, 02-Jan-06 15:04:05 MST"

Warning

This tool will rename your files if the exif and meta data is parsed correctly

About

Dropbox-like renaming so all your media sorts properly based on time taken

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages