chabuku Posted March 25, 2014 Report Share Posted March 25, 2014 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.phpOtherwise 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.phpNeither 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. Quote Link to comment Share on other sites More sharing options...
stanha Posted March 26, 2014 Report Share Posted March 26, 2014 Hey, maybe I don't have the Syntax right, or somehow or other I am missing something on how to use .SyncIgnoreTrying 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 "/". Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.