mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Feature: Allow deletion of documents via the fuzzy matching command (#4957)
* Adds new flag allowing deletion of one of a document pair which is over the match ratio * Documents the new command option
This commit is contained in:
		| @@ -607,3 +607,10 @@ document_fuzzy_match [--ratio] [--processes N] | ||||
| | ----------- | -------- | ------------------- | ------------------------------------------------------------------------------------------------------------------------------ | | ||||
| | --ratio     | No       | 85.0                | a number between 0 and 100, setting how similar a document must be for it to be reported. Higher numbers mean more similarity. | | ||||
| | --processes | No       | 1/4 of system cores | Number of processes to use for matching. Setting 1 disables multiple processes                                                 | | ||||
| | --delete    | No       | False               | If provided, one document of a matched pair above the ratio will be deleted.                                                   | | ||||
|  | ||||
| !!! warning | ||||
|  | ||||
|     If providing the `--delete` option, it is highly recommended to have a backup. | ||||
|     While every effort has been taken to ensure proper operation, there is always the | ||||
|     chance of deletion of a file you want to keep. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Trenton H
					Trenton H