commit 959a984afb33e3f79c77a4de52a2ee0bccc5bee3 Author: Rockingcool Date: Mon Nov 21 08:12:56 2022 -0600 Added file to create screenshot name. diff --git a/scrshotName.sh b/scrshotName.sh new file mode 100755 index 0000000..a298f88 --- /dev/null +++ b/scrshotName.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +curDATE="Screenshot_" + +#Add the year to the variable +curDATE+=$(date | awk '{print $7}') + +#Add the month and day +curDATE+="-"$(date +"%m-%d") + +#Add the time +curDATE+="_"$(date +"%H-%M-%S") + +curDATE+=".png" + + +echo $curDATE