We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
hrahmani
2 years agoExplorer | Level 4
Ignoring a directory does not work
Dear all,
I am trying to get dropbox to ignore a directory that we use to create ~200K small temporary files using the command given in this article:
I am trying to run the command on our windows machine:
Edition Windows 11 Education
Version 22H2
Installed on 11/17/2022
OS build 22623.885
Experience Windows Feature Experience Pack 1000.22637.1000.0
but I get an error:
Set-Content -Path 'D:\Dropbox (Scripps Research)\Grotjahn Lab\Data\Krios_Data\JTL016A_3_TEM_230401\frames\matching\' -Stream com.dropbox.ignored -Value 1\
Set-Content : Could not open the alternate data stream 'com.dropbox.ignored' of the file 'D:\Dropbox (Scripps
Research)\Grotjahn Lab\Data\Krios_Data\JTL016A_3_TEM_230401\frames\matching\'.
At line:1 char:1
+ Set-Content -Path 'D:\Dropbox (Scripps Research)\Grotjahn Lab\Data\Kr ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Set-Content], FileNotFoundException
+ FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.PowerShell.Commands.SetContentCommand
Can anyone help me with this? Solving this issue can save us a large chunk of time and trouble since we won't have to pause and resume syncing anymore.
Currently, it isn't possible to bulk ignore folders, they'd need to be manually ignored as and when they exist in your Dropbox folder.
- hrahmaniExplorer | Level 4
The backslash is a mistake in this message not in the command. Thank you for the quick response, after I posted it I started playing more with the PowerShell commands and this worked:
cd [the parent directory]
Set-Content ./subtomo:com.dropbox.ignored -value 1
Now I can see the value when I use
Get-Content .\subtomo:com.dropbox.ignored
and in the file explorer I see the gray minus sign on that directory.
- JayDropbox Staff
Thanks for the info. Does this mean you were able to successfully ignore the folder you needed?
About Apps and Installations
Have a question about a Dropbox app or installation? Reach out to the Dropbox Community and get solutions, help, and advice from members.
Need more support
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!