cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

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.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Ignoring a directory does not work

Ignoring a directory does not work

hrahmani
Explorer | Level 4
Go to solution

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:

 

https://help.dropbox.com/sync/ignored-files#:~:text=If%20you%20ignore%20a%20file,sync%20to%20your%20....

 

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.

 

 

 

1 Accepted Solution

Accepted Solutions

Jay
Dropbox Staff
Go to solution

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.


Jay
Community Moderator @ Dropbox
dropbox.com/support


Heart Did this post help you? If so, give it a Like below to let us know.
:arrows_counterclockwise: Need help with something else? Ask me a question!
:pushpin: Find Tips & Tricks Discover more ways to use Dropbox here!
:arrows_counterclockwise: Interested in Community Groups? Click here to join!

View solution in original post

5 Replies 5

Jay
Dropbox Staff
Go to solution

Hi @hrahmani, thanks for bringing this to our attention.

 

Did you copy the command exactly, as you entered a backslash at the end of the command after 1.

 

This will help me to assist further!


Jay
Community Moderator @ Dropbox
dropbox.com/support


Heart Did this post help you? If so, give it a Like below to let us know.
:arrows_counterclockwise: Need help with something else? Ask me a question!
:pushpin: Find Tips & Tricks Discover more ways to use Dropbox here!
:arrows_counterclockwise: Interested in Community Groups? Click here to join!

hrahmani
Explorer | Level 4
Go to solution

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.

Jay
Dropbox Staff
Go to solution

Thanks for the info. Does this mean you were able to successfully ignore the folder you needed?


Jay
Community Moderator @ Dropbox
dropbox.com/support


Heart Did this post help you? If so, give it a Like below to let us know.
:arrows_counterclockwise: Need help with something else? Ask me a question!
:pushpin: Find Tips & Tricks Discover more ways to use Dropbox here!
:arrows_counterclockwise: Interested in Community Groups? Click here to join!

hrahmani
Explorer | Level 4
Go to solution

I believe so (I want to test it but I don't see a reason for it to go wrong.). Are there resources available for me to ignore all the directories with this name? Like ignore every directory matching "Data/*/subtomo/" even the ones that are created later?

 

This can even work if there is a way to create the subtomo/ directory for every new folder in Data/ and then ignore it. 

 

Thanks for you help.

Jay
Dropbox Staff
Go to solution

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.


Jay
Community Moderator @ Dropbox
dropbox.com/support


Heart Did this post help you? If so, give it a Like below to let us know.
:arrows_counterclockwise: Need help with something else? Ask me a question!
:pushpin: Find Tips & Tricks Discover more ways to use Dropbox here!
:arrows_counterclockwise: Interested in Community Groups? Click here to join!

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Jay Dropbox Staff
  • User avatar
    hrahmani Explorer | Level 4
What do Dropbox user levels mean?