mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-10-31 03:10:07 +00:00 
			
		
		
		
	better archiver handling...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									7046e88ad8
								
							
						
					
					
						commit
						4c76bb0ffa
					
				| @ -78,14 +78,16 @@ if [ "$1" ] ; then | ||||
| 	BASE_PATH=$1 | ||||
| fi | ||||
| 
 | ||||
| # check if archiver exists... | ||||
| if ! which ${ARCH/ *} > /dev/null 2>&1 ; then | ||||
| 	echo "$0: ${ARCH/ *}: command not found." >&2 | ||||
| 	exit 1 | ||||
| fi | ||||
| 
 | ||||
| 
 | ||||
| # do the work... | ||||
| find "$BASE_PATH" -name \*.${EXT} -exec ${ARCH} \; | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| echo done. | ||||
| find "$BASE_PATH" -name \*.${EXT} -exec ${ARCH} \; \ | ||||
| 	&& echo done. | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user