#!/bin/bash
set -euxo pipefail;
dir=$(dirname "$1");
date=$(date +%Y-%m-%d-%H-%M);
name=$(basename "$1");
mv "$1" "$dir/$date-$name";