#!/bin/bash
FILENAME=$(basename "$1")
DIRNAME=$(dirname "$1")
DATE=$(date +"%Y-%m-%d_%H%M%S")
mv "$1" "$DIRNAME/$DATE_$FILENAME"