You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
thenowak
2 years agoNew member | Level 2
Ignoring a file without an extension
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
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.
- JayDropbox Staff
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!
- thenowakNew 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.
- JayDropbox Staff
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!
About 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.
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!