Added file to create screenshot name.
commit
959a984afb
@ -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
|
Loading…
Reference in New Issue