EXIF Syntax
EXIF (ExifTool) Sublime Syntax
Labels language syntax
Details
Installs
- Total 26
- Win 8
- Mac 9
- Linux 9
| Nov 24 | Nov 23 | Nov 22 | Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | Nov 15 | Nov 14 | Nov 13 | Nov 12 | Nov 11 | Nov 10 | Nov 9 | Nov 8 | Nov 7 | Nov 6 | Nov 5 | Nov 4 | Nov 3 | Nov 2 | Nov 1 | Oct 31 | Oct 30 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | Oct 17 | Oct 16 | Oct 15 | Oct 14 | Oct 13 | Oct 12 | Oct 11 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
EXIF (ExifTool) Sublime syntax + bat integration
This repo contains an EXIF.sublime-syntax for highlighting exiftool output.
Install in Sublime Text
Recommended (Package Control)
- Open Preferences → Package Control.
- Select Install Package.
- Search for
EXIF Syntaxand install it.
Alternative (manual install)
- Find your Sublime User package directory:
- Linux:
~/.config/sublime-text/Packages/User/ - macOS:
~/Library/Application Support/Sublime Text/Packages/User/ - Windows:
%APPDATA%\Sublime Text\Packages\User\
- Copy the syntax file there:
cp EXIF.sublime-syntax ~/.config/sublime-text/Packages/User/
- Open exif output:
- Save exif output to a file ending in
.exifor.exiftool, then open it in Sublime. - Or paste it in Sublime and use View → Syntax → EXIF (ExifTool).
- Save exif output to a file ending in
Install for bat
bat can load Sublime .sublime-syntax files from its configuration directory.
- Find
bat’s config directory:
bat --config-dir
On Linux this is usually: ~/.config/bat/
- Create the
syntaxesdirectory if it doesn’t exist:
mkdir -p "$(bat --config-dir)/syntaxes"
- Copy the syntax file:
cp EXIF.sublime-syntax "$(bat --config-dir)/syntaxes/"
- Rebuild
bat’s syntax cache (required):
bat cache --build
- Use it:
exiftool -- file.jpg | bat --plain --color=always -l exif
Notes
batrecognizes the syntax afterbat cache --build.- If you change the syntax file later, run
bat cache --buildagain.