perform list operations
This commit is contained in:
		
							parent
							
								
									dc75c0afea
								
							
						
					
					
						commit
						07fdd04754
					
				
							
								
								
									
										18
									
								
								.vscode/numbered-bookmarks.json
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										18
									
								
								.vscode/numbered-bookmarks.json
									
									
									
									
										vendored
									
									
								
							| @ -1,3 +1,19 @@ | ||||
| { | ||||
| 	"bookmarks": [] | ||||
| 	"bookmarks": [ | ||||
| 		{ | ||||
| 			"fsPath": "$ROOTPATH$/borghelper.sh", | ||||
| 			"bookmarks": [ | ||||
| 				-1, | ||||
| 				222, | ||||
| 				-1, | ||||
| 				-1, | ||||
| 				-1, | ||||
| 				-1, | ||||
| 				-1, | ||||
| 				-1, | ||||
| 				-1, | ||||
| 				61 | ||||
| 			] | ||||
| 		} | ||||
| 	] | ||||
| } | ||||
| @ -220,6 +220,15 @@ fi | ||||
| export TMPDIR="${borgBaseDir}/tmp" | ||||
| 
 | ||||
| 
 | ||||
| ### execute borg operations | ||||
| 
 | ||||
| # list operations | ||||
| if [ "$operation" = 'listall' ]; then | ||||
|     borg list | ||||
| elif [ "$operation" = 'viewarchive' ]; then | ||||
|     borg list ::"${archiveName}" | ||||
| fi | ||||
| 
 | ||||
| 
 | ||||
| ### exit gracefully | ||||
| cleanup | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user