You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/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
|