# Duplicate Detection

OffShoot will automatically detect duplicates when copying data into an existing folder structure. A file will be not be copied when *all* of these conditions are met:

* A file with an identical name exists in the folder the copy will end up
* That file has the same byte size
* That file has the same modification date

When a file with an identical name already exists on the destination path, but has a different byte size and/or modification date, it will be copied using a counter following Finder and Explorer's duplicate naming conventions: `B002C006_180327_R1ZA.mov` becomes `B002C006_180327_R1ZA 2.mov`.

#### Logging

Skipped files will be logged in the Transfer Log, under the section:

`-- Skipped files (already on destination) --`

&#x20;Duplicates that do not match all criteria are logged as such:

`-- Transferred files --` \
`#1:   B002C006_180327_R1ZA.mov`\
`path: XDROOT/CLIPS/B002C006_180327_R1ZA 2.mov`

####

#### Finding duplicates without copying

If an identical file exists in a different folder on your destination, the source file will be copied. If you are looking for a way to find duplicates on an existing drive, have a look at [Duplicate Detective](https://fiplab.com/apps/duplicate-detective-for-mac) or [Gemini](https://macpaw.com/gemini).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.hedge.video/offshoot/features/duplicate-detect.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
