jdyer

[Solved] Syncignore Not Working As Expected

Recommended Posts

so I have a folder structure as follows

/opt    |    |customer_home|                  |-170129|                          |--reports/                          |--www/                          |--logs/

however under customer home there are about 50,000 account id's.  My intent is to ignore everything under logs and reports but sync /www

 

I have placed my .SyncIgnore file at the root of my sync ( /opt/customer_home/.SyncIgnore ) with the following

/*/logs/*/reports*.tgz*.tar*.cdr.json*.cdr.csv*.txt.tgz*.tar.gz*.pdf*.exe*.dmg*.zip

but it is still syncing files under logs and reports.  I am using client 1.4 and syncing between two CentOS 6 systems.   Any idea what I am doing wrong?

Share this post


Link to post
Share on other sites

I have placed my .SyncIgnore file at the root of my sync ( /opt/customer_home/.SyncIgnore )

....

I am using client 1.4 and syncing between two CentOS 6 systems.   Any idea what I am doing wrong?

Yes - .SyncIgnore doesn't apply to 1.4

In 1.4, .SyncIgnore has become .sync/IgnoreList (i.e. you'll need to edit /opt/customer_home/.sync/IgnoreList)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.