mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-10-31 03:10:07 +00:00 
			
		
		
		
	enabled btrfs snapshot creation...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									69bc6ccc2b
								
							
						
					
					
						commit
						f312eee12f
					
				| @ -288,6 +288,8 @@ while true ; do | |||||||
| 
 | 
 | ||||||
| 	while true ; do | 	while true ; do | ||||||
| 		echo "Copying files from ${BASE}${DRIVE} (~`du -hs "${BASE}${DRIVE}" | cut -f 1`)..." | 		echo "Copying files from ${BASE}${DRIVE} (~`du -hs "${BASE}${DRIVE}" | cut -f 1`)..." | ||||||
|  | 		echo "# $COPY $COPYFLAGS ${BASE}${DRIVE}/* "$DIR"" | ||||||
|  | 		echo "#	2> >(tee "${DIR}"/copy-err.log)" | ||||||
| 		$COPY $COPYFLAGS ${BASE}${DRIVE}/* "$DIR" \ | 		$COPY $COPYFLAGS ${BASE}${DRIVE}/* "$DIR" \ | ||||||
| 			2> >(tee "${DIR}"/copy-err.log) | 			2> >(tee "${DIR}"/copy-err.log) | ||||||
| 		# no errors -> remove log... | 		# no errors -> remove log... | ||||||
| @ -354,10 +356,10 @@ if [[ $DO_COMPRESS ]] ; then | |||||||
| 	echo "Compressing archive: done." | 	echo "Compressing archive: done." | ||||||
| fi | fi | ||||||
| 
 | 
 | ||||||
| ##if ! [ -z "$SNAPSHOT" ] \ | if ! [ -z "$SNAPSHOT" ] \ | ||||||
| ##		&& [ -e "$SNAPSHOT" ] ; then | 		&& [ -e "$SNAPSHOT" ] ; then | ||||||
| ##	"$SNAPSHOT" | 	eval "$SNAPSHOT" | ||||||
| ##fi | fi | ||||||
| 
 | 
 | ||||||
| # XXX add report... | # XXX add report... | ||||||
| # XXX | # XXX | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user