We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
thenowak
3 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 1I'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.SetContentCommandHi 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.
3 Replies
- Jay3 years ago
Dropbox Community Moderator
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!
- thenowak3 years agoNew 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.
- Jay3 years ago
Dropbox Community Moderator
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.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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, Facebook or Instagram.
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!