cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Share your feedback on the Document Scanning Experience in the Dropbox App 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: 

Ignoring a file without an extension

Ignoring a file without an extension

thenowak
New member | Level 2
Go to solution

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

thenowak
New member | Level 2
Go to solution

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

Jay
Dropbox Staff
Go to solution

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: Interested in Community Groups? Click here to join!

thenowak
New member | Level 2
Go to solution

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.

Jay
Dropbox Staff
Go to solution

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: 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
    thenowak New member | Level 2
What do Dropbox user levels mean?