exclusion and inclusion process
exclusion and inclusion process
I'm using a translation sorry for the pronunciation mistakes
Can you provide more information?
What is your question?
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
Related to but not quite duplicated by #292 .
Related to and maybe duplicate of #201 ?