分页: 1 / 1

lftp同步问题

发表于 : 2011-03-18 9:09
liucheng1513
在用lftp同步的时候有一个文件不想同步有办法吗,
例如,lftp
ftp://admin:[email protected]
mirror --continue /media/ /home/data/

在ftp的media下有个media.txt和若干* .txt,但在同步的时候media.txt不想同步,有办法吗。

Re: lftp同步问题

发表于 : 2011-03-18 12:03
be00
man lftp 试试

代码: 全选

            -i RX, --include RX include matching files
            -x RX, --exclude RX exclude matching files
            -I GP, --include-glob GP include matching files
            -X GP, --exclude-glob GP exclude matching files
exclude是排除