脚本里如何使用filter

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • BlueFang
    New User
    • May 2005
    • 2

    脚本里如何使用filter

    option confirm:yes-to-all
    filter "*.ini;*.css;*.dat;*.adr;*.js"
    load "E:\Net\Opera\profile" "ftp://xxx:[email protected]/"
    select rt.orphan
    delete rt
    select lt.newer.files lt.older.files lt.orphan lt.diff.files
    copy left->right
    但是使用脚本后,BC2不止同步了指定的5种类型的文件,还同步了png、zip等其他文件。
    请问如何修改才能让BC2只同步我指定的5种类型的文件
  • Aaron
    Team Scooter
    • Oct 2007
    • 16002

    #2
    I think your problem may be "rt.orphan" and "lt.orphan"


    option confirm:yes-to-all
    filter "*.ini;*.css;*.dat;*.adr;*.js"
    load "E:\Net\Opera\profile" "ftp://xxx:[email protected]/"
    expand all
    select rt.orphan
    delete rt
    select lt.newer.files lt.older.files lt.orphan.files lt.diff.files
    copy left->right

    --or--


    option confirm:yes-to-all
    filter "*.ini;*.css;*.dat;*.adr;*.js"
    load "E:\Net\Opera\profile" "ftp://xxx:[email protected]/"
    expand all
    select rt.orphan.files
    delete rt
    select lt.newer.files lt.older.files lt.orphan.files lt.diff.files
    copy left->right


    Does selecting just the files help?
    Google Translate:
    http://translate.google.com/translate_t
    是否选择刚才的文件帮助?
    Aaron P Scooter Software

    Comment

    • BlueFang
      New User
      • May 2005
      • 2

      #3
      已经自行解决了问题,非常感谢。

      Comment

      Working...