#!/bin/bash
rename 's/ /-/g' ~/Pictures/*.png
latest=$(ls -Art ~/Pictures | tail -n 1)
pb "~/Pictures/$latest"