Syncignore Issue


chabuku

Recommended Posts

Hey, maybe I don't have the Syntax right, or somehow or other I am missing something on how to use .SyncIgnore

 

Trying to sync my development web server (with static pages) between work laptop and home desktop.

 

I tried two methods: creating a .SyncIgnore file with UTF-8 encoding and putting the one file I need to ignore in there : 

# Files to Ignore for this directoryindex.php

Otherwise I tried appending it to the .SyncIgnore file that already existed that looks like so: 

# .SyncIgnore is a UTF-8 encoded .txt file that helps you specify single files, paths and rules # for ignoring during the synchronization job. It supports "?" and "*" wildcard symbols.### OS generated files #.DS_Store.DS_Store?._*.Spotlight-V100.Trashesehthumbs.dbdesktop.iniThumbs.db/siteDev/index.php

Neither method seems to prevent index.php from syncing.

 

What am I doing wrong here? I tried searching for similar topics, apologize if the answer to this was already available.

Link to comment
Share on other sites

Hey, maybe I don't have the Syntax right, or somehow or other I am missing something on how to use .SyncIgnore

Trying to sync my development web server (with static pages) between work laptop and home desktop.

...

1) SyncIgnore works on per node basis.

2) File names to be ignored are relative to your main sync folder.

3) If you want to ignore some file ONLY in the top level folder,

use a leading "/".

Link to comment
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.