Previous Next

Thread: skipfolders problem

Last post 05-30-2008 10:41 AM by bruno23. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 05-29-2008, 6:28 PM

    • bruno23
    • Not Ranked
    • Joined on 03-06-2008, 2:59 PM
    • Posts 6
    • bruno23

    skipfolders problem

    Hi, I had been using the -skip successfully until just recently.
    It appears that if I specify a folder to be skipped called 'Bin', and there are other folders that start with 'Bin', such as 'Bins', every folder that starts with 'Bin' is skipped. 

    This seems to be happening anytime a folder's name that was specified in -skip is also the beginning of another folder name.

    Is there additional syntax to use so that it only skips folders with the exact same name?

  • 05-29-2008, 9:11 PM In reply to

    • ksingla
    • Top 25 Contributor
    • Joined on 06-14-2006, 3:02 AM
    • Redmond, WA
    • Posts 411
    • ksingla

    Re: skipfolders problem

    Hi Bruno23.

    Value of absolutePath is interpreted as a regular expression and skip rule will skip any path which has a match of this regular expression. If you want to skip folders which are named Bin only, you might want to specify absolutePath as \\bin$. $ will match with end of string and \\ will make sure its a separate folder.

    Let me know if this doesn't work.
    Kanwal

  • 05-30-2008, 10:41 AM In reply to

    • bruno23
    • Not Ranked
    • Joined on 03-06-2008, 2:59 PM
    • Posts 6
    • bruno23

    Re: skipfolders problem

    Hi Kanwal, thankyou very much for the suggestion.  It worked.  I didn't realize the absolute path was interperated as a regular expression.  Thanks for shedding some light.

     John

Page 1 of 1 (3 items)
Page view counter