cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Organizing your research is important to easily review and share it. Learn how Kim uses Dropbox to gather and organize her research right here.

Create, upload, and share

Find help to solve issues with creating, uploading, and sharing files and folders in Dropbox. Get support and advice from the Dropbox Community.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
1
Ask
2
Comments

Ignoring a file without an extension

Ignoring a file without an extension

thenowak
New member | Level 2

I try to set a file as ignored for sync. The problem is the file does not have an extension. When I try

Set-Content -Path 'C:\Users\yourname\Dropbox(Personal)\YourFileName' -Stream com.dropbox.ignored -Value 1

  I'll get an error:

Set-Content : Could not open the alternate data stream 'com.dropbox.ignored' of the file 'C:\Users\yourname\Dropbox(Personal)\YourFileName'.
At line:1 char:1
+ Set-Content -Path 'C:\Users\yourname\Dropbox(Pers...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Set-Content], FileNotFoundException
    + FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.PowerShell.Commands.SetContentCommand
1 Accepted Solution

Accepted Solutions

Re: Ignoring a file without an extension

thenowak
New member | Level 2

Hi Jay, thank you for the quick reply. It seems I've found the culprit - the file in question had the read-only attribute. After changing that, even no extension doesn't pose an issue.

View solution in original post

3 Replies 3

Re: Ignoring a file without an extension

Jay
Dropboxer

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

 

In general, the option to ignore files from syncing would require that they have a file extension. Otherwise, it would seem like you're trying to ignore a folder itself.

 

Just for clarification, you are amending the filepath in the example you gave for the sake of privacy?

 

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: What do you think about the Community? Fill out our survey here!

Re: Ignoring a file without an extension

thenowak
New member | Level 2

Hi Jay, thank you for the quick reply. It seems I've found the culprit - the file in question had the read-only attribute. After changing that, even no extension doesn't pose an issue.

Re: Ignoring a file without an extension

Jay
Dropboxer

Glad to hear we were able to resolve the issue. If you need any further assistance in the future, please let me know.

 

Enjoy the rest of your week!


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: What do you think about the Community? Fill out our survey here!

Who's talking

Top contributors to this post

  • User avatar
    Jay Dropboxer
  • User avatar
    thenowak New member | Level 2
What do Dropbox user levels mean?
Need more support?