Exclusions

Hi,

I cant get my head around how the exclusions or inclusions are managed in acrosync.

For example,
I have a win7 system, with a HDD labeled B:/

In B drive I have folders A,B,C,D,E,F

In folder A, i have folders 1,2,3.

How do I exclude folder A 1?

How do I exclude a file in Folder A 3?

Cheers,

dooley

Comments

  • To exclude folder A/1, use this exclude pattern: /A/1

    The '/' at the beginning indicates that the match starts from the top level subdirectory.

    To exclude file A/3/file, use this exclude pattern: /A/3/file

    The user guide has a section on include/exclude patterns.
  • edited January 2015
    Thanks for that, but it doesn't seem to be working for me.

    For the exclusions, I have "/Sales/SALES/utube     /Operations/Documents/Operations Old/VOLUNTEERS" without the " ".

    An exert from the log files of the job is:
    2015/01/19 18:03:41    Uploaded Operations/Documents/Operations Old/VOLUNTEERS/Volunteer Photos/volunteer photos 2nd Group/volunteers 2nd batch 012.jpg

    What am I doing wrong?

    Cheers,
    dooley


  • Ahhhh,,, spaces. A space in the exclude phrase is the issue.

    The space in " /Operations/Documents/Operations <--this oneOld/VOLUNTEERS" was breaking it.

    Can I suggest in the FAQ for the exclusions be updated with a reference to having spaces in the exclude phrase?

    Cheers,
    dooley
  • Sure, I'll update the doc.
  • Is there any way to add exceptions with spaces in the file name?

    I am just in the process of moving 70 folders over but only need a limited number of these, most have spaces within the folder names.
  • Just replace spaces with '*'.  For example, 'My*Documents'.
  • edited November 2015
    My*Documents matches "My Important Documents" too, not just "My Documents", correct?

    Is there a way to properly exclude files/folders that have spaces? 
  • I'd also like to know if there's a way to properly exclude folders that have spaces.
  • Currently the include/exclude patterns are split by spaces, so the wildcard is the only workaround.

    If this workaround doesn't work for you in your use case, I can make a change to split the patterns using a different delimiter like ';' if that delimiter is present.
  • Hi, Having semi-colon as the delimiter would work for me.

  • A new build with this delimiter change is alive on our website.  Please let me know if you find any issues.
Sign In or Register to comment.