mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-10-31 11:20:09 +00:00 
			
		
		
		
	now compression reports progress...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									586e8758b4
								
							
						
					
					
						commit
						69bc6ccc2b
					
				| @ -91,9 +91,20 @@ fi | |||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| # do the work... | # do the work... | ||||||
| find "$BASE_PATH" -name \*.${EXT} -exec ${ARCH} \; \ | #find "$BASE_PATH" -name \*.${EXT} -exec ${ARCH} \; \ | ||||||
| 	&& echo done. | #	&& echo done. | ||||||
| 
 | 
 | ||||||
|  | IFS=$'\n' | ||||||
|  | ARWs=($(find "$BASE_PATH" -name \*.${EXT})) | ||||||
|  | COUNT=${#ARWs[@]} | ||||||
|  | DONE=1 | ||||||
|  | for f in "${ARWs[@]}" ; do | ||||||
|  | 	echo $f | ||||||
|  | 	printf 'Doing: %d/%d\r' $DONE $COUNT | ||||||
|  | 	eval "${ARCH/\{\}/\"$f\"}" > /dev/null | ||||||
|  | 	DONE=$((DONE + 1)) | ||||||
|  | done | ||||||
|  | echo done. | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| # vim:set nowrap nospell : | # vim:set nowrap nospell : | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user