We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.

Forum Discussion

theMichaelB's avatar
theMichaelB
New member | Level 2
5 years ago

Exclude python venv directory

I have a folder that contains python scripts, which also includes virtual environment files - a folder which often contains tens of thousands of files, and I just don't want those directories sync'd. 

 

Prior to the recent sync changes, I would exclude that folder from syncing, and then recreate it and it would be ignored. So my workflow would be 

mkdir env
dropbox exclude add env 
mkdir env 

at which point I could add anything to env and it wouldn't be sync'd 

 

using that workflow now creates a folder called `env (Selective Sync Conflict)` which is sync'd. 

Any thoughts how I can achieve this now? 

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!