Filename looks like 2016-01-01 12:00:00.jpg
exiftool '-FileName<DateTimeOriginal' -d "%Y-%m-%d %H.%M.%S%%-c.%%e"
exiftool -csv -filename -imagesize -gps:GPSLatitude -gps:GPSLongitude ./ > long.csv
| #!/usr/bin/sh | |
| # Check if an interface is UP or DOWN and return data suitable for pnp4nagios | |
| # Copyright © 2021 henrik lindgren <henrikprojekt at gmail.com> | |
| # | |
| # This program is free software: you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation, either version 3 of the License, or | |
| # (at your option) any later version. | |
| # | |
| # This program is distributed in the hope that it will be useful, |
| # to enter a deeper command level type edomtset command twice | |
| edomtset | |
| edomtset | |
| # |
| # Rename this distribution example file to motion.conf | |
| # | |
| # This config file was generated by motion 4.0.1 | |
| # This file contains configuration for a sqlite3 database | |
| ############################################################ | |
| # Daemon | |
| ############################################################ |
| set autoupdategist | |
| set noautofocus | |
| "set nocncpcompletion | |
| set smoothscroll | |
| set hud | |
| set typelinkhints | |
| set defaultnewtabpage | |
| let scrollduration = 10 | |
| let searchlimit = 40 |
| #!/bin/bash | |
| # File : bashthesaurus.sh | |
| # Author : Henrik Lindgren | |
| # Description : create a thesaurus like a teeRex | |
| # Last Modified : 2016-06-03 | |
| tempfile=/tmp/binFiles | |
| mkShellThesaurus(){ | |
| #NOTE: this function will wreck havoc if invoked so dont waste your time. | |
| #TODO: make this script less tyranic |
| "returns visual selection | |
| function! s:get_visual_selection() | |
| " Why is this not a built-in Vim script function?! | |
| let [lnum1, col1] = getpos("'<")[1:2] | |
| let [lnum2, col2] = getpos("'>")[1:2] | |
| let lines = getline(lnum1, lnum2) | |
| let lines[-1] = lines[-1][: col2 - (&selection == 'inclusive' ? 1 : 2)] | |
| let lines[0] = lines[0][col1 - 1:] | |
| return join(lines, "\n") | |
| endfunction |
| #for dbext: | |
| apt-get install unixodbc | |
| perl -MCPAN -e 'install Bundle::DBI' -e 'install DBD::ODBC' | |
| #for vim-sql-workbench | |
| #sqlite | |
| wget https://bitbucket.org/xerial/sqlite-jdbc/downloads/sqlite-jdbc-3.8.11.2.jar | |
| #mysql | |
| wget https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.38.tar.gz |
| #this is for a file that should get sourced on startup | |
| #call it with xmodmap ~/.Xmodmap | |
| cat > ~/.Xmodmap << EOF | |
| remove Lock = Caps_Lock | |
| add Lock = Escape | |
| keysym Caps_Lock = Escape | |
| keysym Escape = Caps_Lock |