I was curious to know how old my niece was. This serves as a handy quick reference.
For setting the file's modification date to the creation date:
For videos
exiftool "-filemodifydate<CreateDate" *.MOV
For photos
exiftool "-filemodifydate<datetimeoriginal" *.JPG
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="wrap"> | |
<h2>Time since <br>Indie was born <small id="birthdate">08/31/2015 4PM</small></h2> | |
<span class="heartbeat">Loading...</span> | |
<p id="total"></p> | |
<p id="secs"></p> | |
<p id="mins"></p> | |
<p id="hours"></p> | |
<p id="days"></p> | |
<p id="weeks"></p> | |
<p id="months"></p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
########################################################################### | |
# Originally written by: Henrik Bengtsson, 2014 | |
# https://github.com/HenrikBengtsson/speedtest-cli-extras | |
# Modified to use Zapier by: Milo Jennings, 2018 | |
# Further modified to store a permanent log locally with all the details in | |
# a CSV file on the desktop (designed for Mac use) | |
# License: GPL (>= 2.1) [http://www.gnu.org/licenses/gpl.html] | |
# See Google Sheet Template: https://docs.google.com/spreadsheets/d/1usJKKMoUpt-VWI94aJ_rU4qLj3ImjDoNt6HqFL-wcRE/edit?usp=sharing | |
# ------------------------------------------------------------------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## ================================== | |
## Servers | |
## ================================== | |
# A server with a non-standard SSH port, using passwordless RSA key authentication | |
alias server1='ssh -p 2200 [email protected]' | |
# A server that uses a certficate for authentication |
OlderNewer