FTP-Deploy-Action icon indicating copy to clipboard operation
FTP-Deploy-Action copied to clipboard

exclusion and inclusion process

Open HakanKorkz opened this issue 3 years ago • 4 comments

exclusion and inclusion process

I'm using a translation sorry for the pronunciation mistakes

HakanKorkz avatar Dec 25 '22 13:12 HakanKorkz

Can you provide more information?

What is your question?

SamKirkland avatar Mar 16 '23 16:03 SamKirkland

I can't speak for @HakanKorkz , but I'd like to have an ability to include files instead of just excluding them.

My use case is: I need to copy one file and two directories, all in the same parent directory. None of the other files or directories in the parent directory should be copied.

For instance, if my local directory looks like

index.html
foo/
bar/
baz/
other.html

I need to be able to copy index.html, foo/*, and bar/* without copying baz/* or other.html.

I don't know what files or directories will be in the parent except for the ones I need to copy, so I can't expect exclude: to work reliably.

I can copy foo/* and bar/* today by using two FTP sessions, but I don't have a way to copy just index.html.

I could even make it work if exclude: supported overrides or exceptions (I don't know what other apps call them), like

exclude: |
  *
  !index.html
  !foo
  !bar

krisalyssa avatar Dec 14 '23 15:12 krisalyssa

Related to but not quite duplicated by #292 .

krisalyssa avatar Dec 14 '23 16:12 krisalyssa

Related to and maybe duplicate of #201 ?

krisalyssa avatar Dec 14 '23 16:12 krisalyssa