-
asphodel
Guest
exclude/include filter
Advertisement
Is it possible to put in a switch so that when scping, you can specify only the type of files you want to transfer instead of having a large list for exclusion of files. I only want to scp 1 file type and as a result must make a large list for exclude field
Advertisement
-
martin◆
Site Admin - Joined:
- Posts:
- 41,468
- Location:
- Prague, Czechia
Re: exclude/include filter
I guess that wildcards is what you need:
See Examples section of "help get".
get *.html *.png d:\www\*.bak
-
Asphodel
Guest
Is that for the command line or this for the norton interface. I was refering to the "exclude mask" on the copy window.
Thanks for the prompt reply
Thanks for the prompt reply
-
martin◆
Site Admin
Sorry, I've misunderstood. So why don't you select just files you want to copy? Or do you need recursive copy of one file type only?
-
Asphodel
Guest
I am copying large directory structures which have some massive data files and lots of run files. I only want to transfer the small log file that is contained in each directory. It takes a long time just to go to every directory and copy the file across so I use a really long exclude list to filter out the files I need. I thought it might be possible to switch between exlcude and include when using the the mask on your next release.
Thanks
Thanks
Advertisement
-
martin◆
Site Admin
OK, I'll consider adding the include filter.
- Guest
Thanks, I would really find it useful...Thanks all your help.
- Guest
Thanks, I would really find it useful...Thanks all your help.
ME TOO!
-
martin◆
Site Admin
It's added already!ME TOO!
Advertisement
- jockel
- Joined:
- Posts:
- 1
Hi,
in winscp, remote server side, I have marked a folder, pressed "copy" and
as the mask I input */*.png as include mask. Expecting, that all *.png files
from the marked folder and subfolders will be copied, preserving(copying) the
remotely existing folder structure to the local PC.
But nothing is copied...yes, there are *.png files ;-)
What am I doing wrong ?
Thank you
Jockel
(Using WINSCP 3.8.2)
in winscp, remote server side, I have marked a folder, pressed "copy" and
as the mask I input */*.png as include mask. Expecting, that all *.png files
from the marked folder and subfolders will be copied, preserving(copying) the
remotely existing folder structure to the local PC.
But nothing is copied...yes, there are *.png files ;-)
What am I doing wrong ?
Thank you
Jockel
(Using WINSCP 3.8.2)
-
martin◆
Site Admin - Joined:
- Posts:
- 41,468
- Location:
- Prague, Czechia
Correct mask is "*/; *.png", to select all folders and all png files.in winscp, remote server side, I have marked a folder, pressed "copy" and
as the mask I input */*.png as include mask. Expecting, that all *.png files
from the marked folder and subfolders will be copied, preserving(copying) the
remotely existing folder structure to the local PC.
But nothing is copied...yes, there are *.png files ;-)
What am I doing wrong ?
Advertisement
You can post new topics in this forum