Ignored files issues on linux

This is horribly frustrating… I’m on Ubuntu 15.04 with the latest Insync. I’ve been trying to figure this out for the past two days now. I’ve come to the conclusion that the ignored files list borders on just not working at all.

It seems to correctly ignore files when, after adding a rule, I shutdown insync, remove the file from my local directory and from the remote directory - only then will it actually ignore a file… Otherwise it’ll just keep happily syncing it - even though it’s in the ignored file list and deleted from Google Drive.

Ignored folders seems to operate on completely different rules… Do I need to enter the entire path of the folder? i.e: /home/user/GDrive/folder1/folder2/* Shouldn’t I be able to enter folder2/* and have it work?

I’ve had only one instance of success with ignoring a folder - it happen to be a top level folder that I was using to test this process. Even though the folder was ignored, Insync still “processed” every file I put in there - it stopped on the uploading, but it worked through every file first. This is not functional if I have a directory of thousands of files and don’t want them synced - Insync will sit in the background eating my CPU, literally not doing anything.

If I give Insync a folder path, it should ignore that folder - to include the sub-directories and contents. Is this the intended behavior? I have tried a number of methods to ignore a directory in Insync so far. For instance, the directory I’m currently struggling with is located in /home/user/sync/mixxx/analysis. This “analysis” folder has several thousand files in it, which are named according to numbers: 976, 982, 182, etc (and they’re all rather large, couple MBs). What’s the proper way to have Insync ignore this folder and the contents?

I’ve tried:
analysis
analysis/*
/analysis/
/home/user/sync/mixxx/analysis/*
mixxx/analysis/*

with zero success… So, what is the trick?

Thanks for your time and other than the above… Insync rocks.
Daniel

Of course, after I hit send I moved the folders back in… and Insync started ignoring properly. Apparently, it likes just the plain folder name without any extra RegEx around it - since “analysis” seems to be the rule that is sticking.

Shouldn’t analysis/* also work for ignoring a folder contents?

FYI - in the process of working though this, I found that Insync seems to bypass the ignore rules in certain circumstances. For instance, I’ve added the ignore rule analysis - then I go to that directory and create a new folder. The system default is “Untitled Folder” - Insync uploads that immediately… so by the time I rename the folder to analysis, Insync has already included it and will continue to sync it - regardless of the ignore rules. I think this behavior was partly responsible for the initial issue listed above.

Thanks again,
Daniel

@internalkernel: Apologies for the trouble. We haven’t implemented path based rules for the ignore list yet. It only checks the name of the file/folder.

Your description of the behavior with the “Untitled Folder” is accurate. The current behavior is to still sync previously synced files that were renamed to an item in the ignore list. In your case what you can do is to add “Untitled Folder” to the ignore list as well.

Thanks for your reply… yes, path based rules… that was what I was looking for. It’s all good, it works great now that I know that. :smile:

Yes, that rule was added right after I realized the behavior.

Thanks again!
Daniel