You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`source_filesystem`|`string`|**X**|| The source flysystem/storage.<br/>See config/packages/flysystem.yaml to see configured flysystem/storages. |
33
-
|`destination_filesystem`|`string`|**X**|| The source flysystem/storage.<br/>See config/packages/flysystem.yaml to see configured flysystem/storages. |
34
-
|`file_pattern`|`string`|| null | The file_pattern used in preg_match to match into `source_filesystem` list of files. If not set try to use input as strict filename to match |
35
-
|`remove_source`|`bool`|| false | If true delete source file after copy |
|`source_filesystem`|`string`|**X**|| The source flysystem/storage.<br/>See config/packages/flysystem.yaml to see configured flysystem/storages. |
33
+
|`destination_filesystem`|`string`|**X**|| The source flysystem/storage.<br/>See config/packages/flysystem.yaml to see configured flysystem/storages. |
34
+
|`file_pattern`|`string`|| null | The file_pattern used in preg_match to match into `source_filesystem` list of files. If not set try to use input as strict filename to match |
35
+
|`remove_source`|`bool`|| false | If true delete source file after copy |
36
+
|`ignore_missing`|`bool`|| true | Ignore property accessor errors for this source |
36
37
37
38
38
39
Examples
@@ -43,6 +44,7 @@ Examples
43
44
- copy all .csv files from 'storage.source' to 'storage.destination'
44
45
- remove .csv from 'storage.source' after copy
45
46
- output will be filename of copied files
47
+
- throw Exception when file(s) not found
46
48
```yaml
47
49
# Task configuration level
48
50
code:
@@ -52,6 +54,7 @@ code:
52
54
destination_filesystem: 'storage.destination'
53
55
file_pattern: '/.csv$/'
54
56
remove_source: true
57
+
ignore_missing: false
55
58
```
56
59
57
60
* Simple fetch process configuration to cipy a specific file from --input option via <br> ```bin/console cleverage:process:execute my_custom_process --input=foobar.csv -vv```
0 commit comments