mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-10-31 03:10:07 +00:00 
			
		
		
		
	updated docs for main scripts...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									a4611a8b25
								
							
						
					
					
						commit
						4ac4880f3a
					
				| @ -1,5 +1,18 @@ | |||||||
|  | sync-flash.sh | ||||||
|  | 	Syncs a camera flash card to an archive folder. | ||||||
|  | 
 | ||||||
|  | 	Dependencies: | ||||||
|  | 		- process-archive.sh | ||||||
|  | 		- compress-archive.sh (optional) | ||||||
|  | 		- bash | ||||||
|  | 
 | ||||||
|  | 	For more info see: | ||||||
|  | 		sync-flash.sh --help | ||||||
|  | 	 | ||||||
|  | 
 | ||||||
| process-archive.sh | process-archive.sh | ||||||
| 	Processes and prepares the archive folder for viewing. | 	Processes and prepares the archive folder for viewing via | ||||||
|  | 	ImageGrid.Viewer. | ||||||
| 
 | 
 | ||||||
| 	Dependencies: | 	Dependencies: | ||||||
| 		- exiftool | 		- exiftool | ||||||
| @ -9,16 +22,18 @@ process-archive.sh | |||||||
| 
 | 
 | ||||||
| 	XXX add self dependency check... | 	XXX add self dependency check... | ||||||
| 
 | 
 | ||||||
| 
 | 	For more info see: | ||||||
| process-archive.bat -- windows version of process-archive.sh (partial) | 		process-archive.sh --help | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| sync-flash.sh | compress-archive.sh | ||||||
| 	Syncs a camera flash card to an archive folder. | 	compresses raw files. | ||||||
| 
 | 
 | ||||||
| 	Dependencies: | 	By default this will NTFS compress sony ARW files, but other | ||||||
| 		- process-archive.sh | 	compression methods and raw formats are supported... | ||||||
| 		- bash | 
 | ||||||
|  | 	For more info see: | ||||||
|  | 		compress-archive.sh --help | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| update-exif.sh | update-exif.sh | ||||||
| @ -27,6 +42,12 @@ update-exif.sh | |||||||
| 	Dependencies: | 	Dependencies: | ||||||
| 		- exiv2 (to be deprecated) | 		- exiv2 (to be deprecated) | ||||||
| 
 | 
 | ||||||
|  | 	For more info see: | ||||||
|  | 		update-exif.sh --help | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | --- | ||||||
| 
 | 
 | ||||||
| flatten.sh | flatten.sh | ||||||
| 	Flatten flickr/instagram favorite folder structure created by  | 	Flatten flickr/instagram favorite folder structure created by  | ||||||
| @ -34,11 +55,13 @@ flatten.sh | |||||||
| 		./<author>/<filename> -> ./ALL/<author> - <filename> | 		./<author>/<filename> -> ./ALL/<author> - <filename> | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| vips-tn.sh | vips-tn.sh | ||||||
| 
 | 
 | ||||||
| cleannwcache.bat | cleannwcache.bat | ||||||
| 
 | 
 | ||||||
| extract-metadata.sh | extract-metadata.sh | ||||||
| 
 | 
 | ||||||
| 
 | process-archive.bat -- windows version of process-archive.sh (partial) | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -29,11 +29,11 @@ printhelp(){ | |||||||
| 	echo "Arguments:" | 	echo "Arguments:" | ||||||
| 	echo "	-h --help	- print this help and exit." | 	echo "	-h --help	- print this help and exit." | ||||||
| 	echo | 	echo | ||||||
| 	echo "	-bz -bzip2	- use bzip2 to compress (default)." | 	echo "	-bz -bzip2	- use bzip2 to compress`[[ $ARCH == $ARCH_BZIP2 ]] && echo " (default)" || echo ""`." | ||||||
| 	echo "	-gz -gzip	- use gzip to compress." | 	echo "	-gz -gzip	- use gzip to compress`[[ $ARCH == $ARCH_GZIP ]] && echo " (default)" || echo ""`." | ||||||
| 	echo "	-c -compact	- use ntfs compression." | 	echo "	-c -compact	- use ntfs compression`[[ $ARCH == $ARCH_NTFS ]] && echo " (default)" || echo ""`." | ||||||
| 	echo | 	echo | ||||||
| 	echo "	-ext EXT	- set file extension to compress (default: ARW)" | 	echo "	-ext EXT	- set file extension to compress (default: ${EXT})" | ||||||
| 	echo "			  NOTE: only one -ext is supported now". | 	echo "			  NOTE: only one -ext is supported now". | ||||||
| 	echo | 	echo | ||||||
| } | } | ||||||
|  | |||||||
| @ -1,7 +1,32 @@ | |||||||
| #!/bin/bash | #!/bin/bash | ||||||
| 
 | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| DIR=`pwd` | DIR=`pwd` | ||||||
| 
 | 
 | ||||||
|  | printhelp(){ | ||||||
|  | 	echo "Usage: `basename $0` [ARGUMENTS] [PATH]" | ||||||
|  | 	echo | ||||||
|  | 	echo "Arguments:" | ||||||
|  | 	echo "	-h --help	- print this help and exit." | ||||||
|  | 	echo | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | while true ; do | ||||||
|  | 	case $1 in | ||||||
|  | 		-h|--help) | ||||||
|  | 			printhelp | ||||||
|  | 			exit | ||||||
|  | 			;; | ||||||
|  | 		*) | ||||||
|  | 			break | ||||||
|  | 			;; | ||||||
|  | 	esac | ||||||
|  | done | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| 
 | 
 | ||||||
| exifup(){ | exifup(){ | ||||||
| 	PREVIEW_DIR=$1 | 	PREVIEW_DIR=$1 | ||||||
|  | |||||||
| @ -29,11 +29,11 @@ printhelp(){ | |||||||
| 	echo "Arguments:" | 	echo "Arguments:" | ||||||
| 	echo "	-h --help	- print this help and exit." | 	echo "	-h --help	- print this help and exit." | ||||||
| 	echo | 	echo | ||||||
| 	echo "	-bz -bzip2	- use bzip2 to compress (default)." | 	echo "	-bz -bzip2	- use bzip2 to compress`[[ $ARCH == $ARCH_BZIP2 ]] && echo " (default)" || echo ""`." | ||||||
| 	echo "	-gz -gzip	- use gzip to compress." | 	echo "	-gz -gzip	- use gzip to compress`[[ $ARCH == $ARCH_GZIP ]] && echo " (default)" || echo ""`." | ||||||
| 	echo "	-c -compact	- use ntfs compression." | 	echo "	-c -compact	- use ntfs compression`[[ $ARCH == $ARCH_NTFS ]] && echo " (default)" || echo ""`." | ||||||
| 	echo | 	echo | ||||||
| 	echo "	-ext EXT	- set file extension to compress (default: ARW)" | 	echo "	-ext EXT	- set file extension to compress (default: ${EXT})" | ||||||
| 	echo "			  NOTE: only one -ext is supported now". | 	echo "			  NOTE: only one -ext is supported now". | ||||||
| 	echo | 	echo | ||||||
| } | } | ||||||
|  | |||||||
| @ -1,7 +1,32 @@ | |||||||
| #!/bin/bash | #!/bin/bash | ||||||
| 
 | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| DIR=`pwd` | DIR=`pwd` | ||||||
| 
 | 
 | ||||||
|  | printhelp(){ | ||||||
|  | 	echo "Usage: `basename $0` [ARGUMENTS] [PATH]" | ||||||
|  | 	echo | ||||||
|  | 	echo "Arguments:" | ||||||
|  | 	echo "	-h --help	- print this help and exit." | ||||||
|  | 	echo | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | while true ; do | ||||||
|  | 	case $1 in | ||||||
|  | 		-h|--help) | ||||||
|  | 			printhelp | ||||||
|  | 			exit | ||||||
|  | 			;; | ||||||
|  | 		*) | ||||||
|  | 			break | ||||||
|  | 			;; | ||||||
|  | 	esac | ||||||
|  | done | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| 
 | 
 | ||||||
| exifup(){ | exifup(){ | ||||||
| 	PREVIEW_DIR=$1 | 	PREVIEW_DIR=$1 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user