update scripts
This commit is contained in:
		
							
								
								
									
										7
									
								
								home/default/scripts/prep-camera-photo
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										7
									
								
								home/default/scripts/prep-camera-photo
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					#!/usr/bin/env sh
 | 
				
			||||||
 | 
					set +eou pipefail
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Takes the latest photo from my camera stream and removes exif data from it
 | 
				
			||||||
 | 
					LATEST_PHOTO=$(ls -t1 /home/default/syncthing/camera/Camera | head -n 1)
 | 
				
			||||||
 | 
					cp "/home/default/syncthing/camera/Camera/${LATEST_PHOTO}" /home/default/Downloads/temp
 | 
				
			||||||
 | 
					cd /home/default/Downloads/temp && remove-exif
 | 
				
			||||||
							
								
								
									
										5
									
								
								home/default/scripts/prune-free-space
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										5
									
								
								home/default/scripts/prune-free-space
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,5 @@
 | 
				
			|||||||
 | 
					#!/usr/bin/env sh
 | 
				
			||||||
 | 
					set -eoux pipefail
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					yay -Sc --noconfirm
 | 
				
			||||||
 | 
					sudo journalctl --vacuum-size=1G
 | 
				
			||||||
		Reference in New Issue
	
	Block a user