Skip to content

schdav/scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scripts

GitHub top language license GitHub last commit GitHub repo size in bytes

Simple, helpful scripts especially for macOS

dates

Sets and increments EXIF DateTimeOriginal and EXIF CreateDate of photos in given directory.

Requirements

ExifTool

Usage

./dates.sh DIRECTORY DATETIME

Example:

./dates.sh . "2019:01:01 12:00:00"

idb

Deletes IndexedDBs in Google Chrome.

mru

Deletes MRU lists in macOS. (Use carefully!)

names

Renames files in given directory with prefix and suffix. Suffix is not required.

Usage

./names.sh DIRECTORY PREFIX SUFFIX

Example:

./names.sh . "Photo" "20190101"

Output:

Photo_001_20190101.jpg Photo_002_20190101.jpg Photo_003_20190101.jpg ...

strip

Removes all EXIF data from photos in given directory recursively.

Requirements

ExifTool

Usage

./strip.sh DIRECTORY

uvim

Updates all VIM plugins.