Title: subfolders for external storage · Issue #475 · datajoint/datajoint-python · GitHub
Open Graph Title: subfolders for external storage · Issue #475 · datajoint/datajoint-python
X Title: subfolders for external storage · Issue #475 · datajoint/datajoint-python
Description: To avoid millions of files in one folder, break up external storage files into subfolders. Add subfolder scheme to the external storage configuration in dj.config. The structure may be specified as a tuple, e.g. (2,2,2), which indicates ...
Open Graph Description: To avoid millions of files in one folder, break up external storage files into subfolders. Add subfolder scheme to the external storage configuration in dj.config. The structure may be specified as...
X Description: To avoid millions of files in one folder, break up external storage files into subfolders. Add subfolder scheme to the external storage configuration in dj.config. The structure may be specified as...
Opengraph URL: https://github.com/datajoint/datajoint-python/issues/475
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"subfolders for external storage","articleBody":"To avoid millions of files in one folder, break up external storage files into subfolders.\r\n\r\n1. Add subfolder scheme to the external storage configuration in `dj.config`. The structure may be specified as a tuple, e.g. (2,2,2), which indicates three levels of subfolders, each taking the next 2 characters of the hash and leaving the rest for the filename. The default scheme is (), i.e. no subfolders.\r\n\r\n2. When creating a new external storage folder, create the file `djexternal.json` and save the subfolder scheme. \r\n\r\n3. When using an existing external storage folder, find `djexternal.json` and read the subfolder scheme from it, ignoring the one specified in `dj.config`.\r\n\r\n4. Break up the hash filename according to the subfolder scheme for both reading and writing.","author":{"url":"https://github.com/dimitri-yatsenko","@type":"Person","name":"dimitri-yatsenko"},"datePublished":"2018-07-23T22:02:35.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/475/datajoint-python/issues/475"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:871c05a2-f8d4-b427-d785-5b8b66da7f7a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C8E4:348BD7:1CD2F61:27F181C:6A4EC4C9 |
| html-safe-nonce | 4030558585c7cb05a8781d1df123bb0936bf48082d9adad9f57a50a20e05d70e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOEU0OjM0OEJENzoxQ0QyRjYxOjI3RjE4MUM6NkE0RUM0QzkiLCJ2aXNpdG9yX2lkIjoiNDg4MDcwODI0MTc1ODAxMjYxNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2a227652a5c7329550f4267e7d32e1613b15736051cb25031d36f3c02b978798 |
| hovercard-subject-tag | issue:343812117 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/datajoint/datajoint-python/475/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8b1062a63c569ac285f0d53e8a069e6cebbc9e174503454a3c1d7e3852c810eb/datajoint/datajoint-python/issues/475 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8b1062a63c569ac285f0d53e8a069e6cebbc9e174503454a3c1d7e3852c810eb/datajoint/datajoint-python/issues/475 |
| og:image:alt | To avoid millions of files in one folder, break up external storage files into subfolders. Add subfolder scheme to the external storage configuration in dj.config. The structure may be specified as... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dimitri-yatsenko |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| turbo-cache-control | no-preview |
| go-import | github.com/datajoint/datajoint-python git https://github.com/datajoint/datajoint-python.git |
| octolytics-dimension-user_id | 2375501 |
| octolytics-dimension-user_login | datajoint |
| octolytics-dimension-repository_id | 5866704 |
| octolytics-dimension-repository_nwo | datajoint/datajoint-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 5866704 |
| octolytics-dimension-repository_network_root_nwo | datajoint/datajoint-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width