Skip to content

Instantly share code, notes, and snippets.

View kwakwaversal's full-sized avatar

Paul Williams kwakwaversal

View GitHub Profile
@kwakwaversal
kwakwaversal / mogrify.sh
Created December 21, 2020 16:25
#shell `mogrify` and retain original timestamp
#!/bin/bash
# Pass a file to mogrify, but retain the timestamp to the nearest second.
#
# Amend the mogrify line below with the correct parameters.
#
# Parameters:
# The input file and nothing else.
#
# Return codes: