I'm using Dropbox with some project and one of my directories has subdirectory it's called ~/Dropbox/stuff/data, how do I exclude and/or ignore it without selective sync?
Asked
Active
Viewed 1,492 times
4
alexus
- 2,894
1 Answers
0
Based on this announcement, Dropbox allows user to ignore specific files. Based on your os, you can ignore files using one of the following commands:
Mac:
xattr -w com.dropbox.ignored 1 /Users/yourname/Dropbox\ \(Personal\)/YourFileName.pdf
Windows:
Set-Content -Path 'C:\Users\yourname\Dropbox(Personal)\YourFileName.pdf' -Stream com.dropbox.ignored -Value 1
Linux:
attr -s com.dropbox.ignored -V 1 /Users/yourname/Dropbox\ \(Personal\)/YourFileName.pdf
Panagiotis Simakis
- 116
- 2
-
That Windows 'command' is PowerShell input, so it should be
powershell -command "Set-Content -Path \"<path>\" -Stream com.dropbox.ignored -Value 1"for usage in batch scripts andcmd. For current folder,<path>:=%CD%can be used. – xamid Oct 13 '23 at 08:43
.gitignoretype of solution for a while. – Raystafarian Feb 26 '16 at 18:27.gitignorefiles. Hope to find it useful. – Panagiotis Simakis Jan 02 '21 at 11:06