Allow for more control on what to archive
This commit is contained in:
		
							parent
							
								
									d111bd5a50
								
							
						
					
					
						commit
						d5a4c22ff5
					
				| @ -13,12 +13,12 @@ then | ||||
|     exit 1 | ||||
| fi | ||||
| 
 | ||||
| find content/albums -type d | while read dir | ||||
| find content/albums -type d "$@" | while read dir | ||||
| do | ||||
|     ( | ||||
|         echo "Creating archive for $dir" | ||||
|         cd "$dir" | ||||
| 
 | ||||
|         find -type f -iname "*.jpg" | grep -v '/thumbnail.jpg$' | zip -u album.zip -@ | ||||
|         # find -type f -iname "*.jpg" | grep -v '/thumbnail.jpg$' | zip -u album.zip -@ | ||||
|     ) | ||||
| done | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user