Skip to content

Instantly share code, notes, and snippets.

@paultheman
paultheman / exiftool-rename
Last active June 17, 2024 18:21
Rename files with exiftool
exiftool -d "%Y%m%d_CUSTOMNAME_%%.3nc.%%e" "-Filename<CreateDate" -o Renamed/ .
Dry-run (use without -o)
exiftool -d "%Y%m%d_CUSTOMNAME_%%.3nc.%%e" "-testname<CreateDate" -o Renamed/ .
@paultheman
paultheman / mac_keyremapping.md
Last active July 6, 2024 23:13
Guide on how to remap Keyboard keys on macOS

Guide on how to remap Keyboard keys on macOS

Update: since macOS 14.2 hidutil requires root privileges.

If you have a mac with an INT (ISO) keyboard you might want to change the ± key to ~. During my research I found that the information on this topic is not at all centralized. I prefer this option because it does not involve installing new software.

With macOS 10.12 Sierra Apple introduced hidutil as a tool to remap keyboard keys. See TN2450.

1. Lets list our HID devices: