Added file to create screenshot name.
This commit is contained in:
		
							
								
								
									
										17
									
								
								scrshotName.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										17
									
								
								scrshotName.sh
									
									
									
									
									
										Executable file
									
								
							| @@ -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 | ||||
		Reference in New Issue
	
	Block a user