down_meme: create memes dir if not exists
This commit is contained in:
		
							parent
							
								
									6dfeeb36ed
								
							
						
					
					
						commit
						3188d11a7b
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -8,6 +8,8 @@ yt-dlp --merge-output-format mp4 "$(wl-paste)"
 | 
			
		|||
 | 
			
		||||
FILENAME="$(ls | head -n1)"
 | 
			
		||||
 | 
			
		||||
mkdir -p "$HOME/Downloads/Memes"
 | 
			
		||||
 | 
			
		||||
cp * "$HOME/Downloads/Memes/$FILENAME"
 | 
			
		||||
 | 
			
		||||
wl-copy-file "$HOME/Downloads/Memes/$FILENAME"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue