povsister / scp

Production-ready Secure Copy Protocol (SCP) implementation in Golang
https://pkg.go.dev/github.com/povsister/scp
MIT License
45 stars 10 forks source link

How to ignore file when Transfer Dir #3

Closed xdkaka closed 1 week ago

xdkaka commented 2 years ago

The project is very good!!!

povsister commented 2 years ago

Well, sounds interesting. How about providing a fs.Dir inerface as input, so you can provide anything looks like a directory for the transfer ? Of course you could do what (filtering. skipping... etc) you want before sending the file.

xdkaka commented 2 years ago

my god,SCP don't support ignore.....

povsister commented 2 years ago

my god,SCP don't support ignore.....

草,要不还是说中文吧

mritd commented 2 years ago

看个 issue 居然给我看笑了...

NoGroceries commented 4 months ago

可以加个filter吗 文件夹中某种固定后缀的文件才传递