File tree 2 files changed +25
-4
lines changed
2 files changed +25
-4
lines changed Original file line number Diff line number Diff line change 1
1
clever_age_process :
2
2
configurations :
3
- demo.sftp_purge :
3
+ demo.sftp_purge_input :
4
4
description : >
5
5
A sample process to remove files from flysystem storage.
6
6
filesystem context variable is used to define source filesystem.
7
7
file_pattern context variable is used to define file_pattern to match.
8
8
Following help show us how to delete all .csv files from filesystem remote.storage
9
9
See config/packages/flysystem.yaml to see configured flysystem/storages.
10
10
help : >
11
- bin/console cleverage:process:execute demo.sftp_purge -c filesystem:remote.storage -c file_pattern:/.csv$/ -vv
11
+ bin/console cleverage:process:execute demo.sftp_purge_input -c filesystem:remote.storage -c file_pattern:/.csv$/ -vv
12
12
options :
13
13
ui :
14
14
source : Bar
@@ -27,10 +27,10 @@ clever_age_process:
27
27
service : ' @CleverAge\ProcessBundle\Task\PropertyGetterTask'
28
28
description : >
29
29
Get filepath within flysystem/storage.
30
- outputs : remove
30
+ outputs : remove_input
31
31
options :
32
32
property : ' path'
33
- remove :
33
+ remove_input :
34
34
service : ' @CleverAge\FlysystemProcessBundle\Task\RemoveFileTask'
35
35
options :
36
36
filesystem : ' remote.storage'
Original file line number Diff line number Diff line change
1
+ clever_age_process :
2
+ configurations :
3
+ demo.sftp_purge_pattern :
4
+ description : >
5
+ A sample process to remove files from flysystem storage.
6
+ filesystem context variable is used to define source filesystem.
7
+ file_pattern context variable is used to define file_pattern to match.
8
+ Following help show us how to delete all .csv files from filesystem remote.storage
9
+ See config/packages/flysystem.yaml to see configured flysystem/storages.
10
+ help : >
11
+ bin/console cleverage:process:execute demo.sftp_purge_pattern -c filesystem:remote.storage -c file_pattern:/.csv$/ -vv
12
+ options :
13
+ ui :
14
+ source : Bar
15
+ target : Foo
16
+ tasks :
17
+ remove_pattern :
18
+ service : ' @CleverAge\FlysystemProcessBundle\Task\RemoveFileTask'
19
+ options :
20
+ filesystem : ' {{ filesystem }}'
21
+ file_pattern : ' {{ file_pattern }}'
You can’t perform that action at this time.
0 commit comments