Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclusions are being ignored in 5.2 #924

Open
JCVanderbilt opened this issue Mar 29, 2024 · 6 comments
Open

Exclusions are being ignored in 5.2 #924

JCVanderbilt opened this issue Mar 29, 2024 · 6 comments

Comments

@JCVanderbilt
Copy link

JCVanderbilt commented Mar 29, 2024

After updating to 5.2 and realizing all my exclusions had been removed, I then re-added them to the backup settings in the new format to the .megaignore file. The only problem is that despite restarting the client and seeing the ignore settings were correct, the app isn't honoring the ignores and I'm getting sync errors about either files being in use or "error identifying folder content in local file system".

This is on Windows 11, all the latest updates installed.

The paths in .megaignore are for directories and follow the format:
-d:path_relative_to_backup_folder

The ignored folders have the green and red icons on them from Megasync meaning it's still trying to sync them, plus I'm getting the errors explained above that files in these ignored folders aren't able to sync.

@Trickster29
Copy link

Trickster29 commented Apr 1, 2024

I second this issue, just using windows 10 instead. Hopefully is fixed soon.

Edit: check my reply

@Trickster29
Copy link

Trickster29 commented Apr 1, 2024

The issue is not true, at least for me. After tinkering for a while I realized I was improperly formating the paths by using old ways of doing it.

It is relative paths to your Mega drive rather an an absolute windows path.

Where the root is your mega root.

So surface folders to your mega drive are direct.

So if you were syncing C:\Users\Bobby\Desktop\Jellyfish

And Jellyfish had the folders box and moon, and box had the subfolder blue

Then an exclusion towards Box would just be

-d:box

And furthermore an exclusion towards blue, would be

-d:box\blue

Edit: fix slash direction

Edit 2: in some cases it does appear to be behaving strangely

Edit 3: refer to post below.

@JCVanderbilt
Copy link
Author

JCVanderbilt commented Apr 2, 2024

I figured out what it was. When you use "Choose folder" and choose a folder, the GUI shows the paths with "/". However, when it adds the entries to .megaignore it switches them to "\".

So on a hunch I changed all "\" to "/" in .megaignore and suddenly it started ignoring correctly.

Edit: I wonder if you change "\" to "\\" it will work? It might think the "\" is an escape character...

@Mek7
Copy link

Mek7 commented Apr 5, 2024

I have no slashes in my .megaignore file.
I configured the exclusions using the GUI only. My folder marked for backup is D:\Dokumenty and inside it, .megaignore file is:

-d:Disk
-d:eBooks
-:.

So that subfolders Disk and eBooks are not synced. I get a Sync issue in megasync: "Error identifying folder content in local file system". When I click Ignore and confim that I want to ignore it, megasync crashed on me (I sent a diagnostic report on next start, with link to this github issue). Otherwise, the Sync issue keeps coming back and is not ignored.

@nowitsabby
Copy link

I hope this gets fixed soon, I spent hours trying to debug why my exclusions were just being ignored. Thankfully the slashes turned out to be the issue, though I would really like it if the gui worked as expected

@SkyHighGam3r
Copy link

SkyHighGam3r commented May 24, 2024

I had TERRABYTES of data uploaded because the program put the slashes in backwards. I'm so grateful for those who posted here - thank you.

To whoever has the power to address this issue, please give it some attention, this bug is pretty serious from a user-perspective.

Thank god I am paying for unlimited data right now through my ISP.
The bill for this much data would have ruined me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants