---
title: target_dir
framework: endpointsecurity
role: symbol
role_heading: Instance Property
path: endpointsecurity/es_event_copyfile_t/target_dir
---

# target_dir

The directory that contains the copied file.

## Declaration

```swift
var target_dir: UnsafeMutablePointer<es_file_t>
```

## See Also

### Inspecting Event Properties

- [source](endpointsecurity/es_event_copyfile_t/source.md)
- [target_file](endpointsecurity/es_event_copyfile_t/target_file.md)
- [target_name](endpointsecurity/es_event_copyfile_t/target_name.md)
- [mode](endpointsecurity/es_event_copyfile_t/mode.md)
- [flags](endpointsecurity/es_event_copyfile_t/flags.md)
- [reserved](endpointsecurity/es_event_copyfile_t/reserved.md)
