opencode-skills-collection 3.1.12 → 3.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -6
- package/bundled-skills/.antigravity-install-manifest.json +195 -1
- package/bundled-skills/ab-testing/SKILL.md +368 -0
- package/bundled-skills/ab-testing/evals/evals.json +105 -0
- package/bundled-skills/ab-testing/references/sample-size-guide.md +263 -0
- package/bundled-skills/ab-testing/references/test-templates.md +277 -0
- package/bundled-skills/accint-commitments/SKILL.md +32 -0
- package/bundled-skills/accint-frames/SKILL.md +35 -0
- package/bundled-skills/accint-solve/SKILL.md +22 -192
- package/bundled-skills/add-app-clip/SKILL.md +297 -0
- package/bundled-skills/add-app-clip/agents/openai.yaml +4 -0
- package/bundled-skills/add-app-clip/references/native-module.md +96 -0
- package/bundled-skills/agent-memory/SKILL.md +84 -0
- package/bundled-skills/alternatives-pages/README.md +46 -0
- package/bundled-skills/alternatives-pages/SKILL.md +376 -0
- package/bundled-skills/analytics/SKILL.md +324 -0
- package/bundled-skills/analytics/evals/evals.json +90 -0
- package/bundled-skills/analytics/references/event-library.md +260 -0
- package/bundled-skills/analytics/references/ga4-implementation.md +300 -0
- package/bundled-skills/analytics/references/gtm-implementation.md +390 -0
- package/bundled-skills/anti-deception/SKILL.md +50 -0
- package/bundled-skills/api-analyzer/SKILL.md +101 -0
- package/bundled-skills/api-and-interface-design/SKILL.md +307 -0
- package/bundled-skills/api-designer/SKILL.md +167 -0
- package/bundled-skills/api-integration/SKILL.md +175 -0
- package/bundled-skills/api-onboarding/README.md +47 -0
- package/bundled-skills/api-onboarding/SKILL.md +473 -0
- package/bundled-skills/api-sdk-generator/SKILL.md +223 -0
- package/bundled-skills/appium-skill/SKILL.md +317 -0
- package/bundled-skills/applicationinsights-web-ts/SKILL.md +477 -0
- package/bundled-skills/automated-triage/SKILL.md +189 -0
- package/bundled-skills/aws-agentic-ai/SKILL.md +141 -0
- package/bundled-skills/aws-cdk-development/SKILL.md +275 -0
- package/bundled-skills/aws-cost-operations/SKILL.md +273 -0
- package/bundled-skills/aws-mcp-setup/SKILL.md +192 -0
- package/bundled-skills/aws-serverless-eda/SKILL.md +394 -0
- package/bundled-skills/aws-sst-development/SKILL.md +175 -0
- package/bundled-skills/azure-ai-language-conversations-py/SKILL.md +112 -0
- package/bundled-skills/azure-servicebus-rust/SKILL.md +182 -0
- package/bundled-skills/azure-storage-queue-rust/SKILL.md +178 -0
- package/bundled-skills/baseline-ui/SKILL.md +15 -10
- package/bundled-skills/before-you-build/SKILL.md +111 -0
- package/bundled-skills/brooks-audit/SKILL.md +49 -0
- package/bundled-skills/brooks-audit/architecture-guide.md +195 -0
- package/bundled-skills/brooks-audit/onboarding-guide.md +89 -0
- package/bundled-skills/brooks-debt/SKILL.md +42 -0
- package/bundled-skills/brooks-debt/debt-guide.md +125 -0
- package/bundled-skills/brooks-harness/SKILL.md +139 -0
- package/bundled-skills/brooks-review/SKILL.md +42 -0
- package/bundled-skills/brooks-review/pr-review-guide.md +163 -0
- package/bundled-skills/brooks-sweep/SKILL.md +44 -0
- package/bundled-skills/brooks-sweep/sweep-guide.md +264 -0
- package/bundled-skills/brooks-test/SKILL.md +41 -0
- package/bundled-skills/brooks-test/test-guide.md +147 -0
- package/bundled-skills/bug-hunt-swarm/SKILL.md +189 -0
- package/bundled-skills/bug-hunt-swarm/agents/openai.yaml +4 -0
- package/bundled-skills/building-native-ui/SKILL.md +77 -18
- package/bundled-skills/building-native-ui/agents/openai.yaml +4 -0
- package/bundled-skills/building-native-ui/references/animations.md +220 -0
- package/bundled-skills/building-native-ui/references/controls.md +270 -0
- package/bundled-skills/building-native-ui/references/form-sheet.md +253 -0
- package/bundled-skills/building-native-ui/references/gradients.md +106 -0
- package/bundled-skills/building-native-ui/references/icons.md +213 -0
- package/bundled-skills/building-native-ui/references/media.md +198 -0
- package/bundled-skills/building-native-ui/references/route-structure.md +229 -0
- package/bundled-skills/building-native-ui/references/search.md +248 -0
- package/bundled-skills/building-native-ui/references/storage.md +121 -0
- package/bundled-skills/building-native-ui/references/tabs.md +433 -0
- package/bundled-skills/building-native-ui/references/toolbar-and-headers.md +284 -0
- package/bundled-skills/building-native-ui/references/visual-effects.md +197 -0
- package/bundled-skills/building-native-ui/references/webgpu-three.md +605 -0
- package/bundled-skills/building-native-ui/references/zoom-transitions.md +158 -0
- package/bundled-skills/changelog-updates/README.md +53 -0
- package/bundled-skills/changelog-updates/SKILL.md +552 -0
- package/bundled-skills/ci-cd-and-automation/SKILL.md +403 -0
- package/bundled-skills/claimable-postgres/SKILL.md +91 -59
- package/bundled-skills/co-marketing/SKILL.md +301 -0
- package/bundled-skills/co-marketing/evals/evals.json +84 -0
- package/bundled-skills/code-review-and-quality/SKILL.md +394 -0
- package/bundled-skills/code-showcase-core-components/SKILL.md +281 -0
- package/bundled-skills/code-showcase-react-ui-patterns/SKILL.md +306 -0
- package/bundled-skills/code-showcase-systematic-debugging/SKILL.md +167 -0
- package/bundled-skills/code-showcase-testing-patterns/SKILL.md +276 -0
- package/bundled-skills/code-simplification/SKILL.md +344 -0
- package/bundled-skills/community-building/README.md +102 -0
- package/bundled-skills/community-building/SKILL.md +415 -0
- package/bundled-skills/competitor-profiling/SKILL.md +427 -0
- package/bundled-skills/competitor-profiling/evals/evals.json +85 -0
- package/bundled-skills/competitor-profiling/references/templates.md +167 -0
- package/bundled-skills/competitor-profiling/references/tool-reference.md +179 -0
- package/bundled-skills/competitor-tracking/README.md +40 -0
- package/bundled-skills/competitor-tracking/SKILL.md +322 -0
- package/bundled-skills/context-engineering/SKILL.md +302 -0
- package/bundled-skills/cro/SKILL.md +202 -0
- package/bundled-skills/cro/evals/evals.json +111 -0
- package/bundled-skills/cro/references/experiments.md +248 -0
- package/bundled-skills/cro/references/form.md +422 -0
- package/bundled-skills/cron-doctor/scripts/cron-engine.js +10 -7
- package/bundled-skills/cucumber-skill/SKILL.md +235 -0
- package/bundled-skills/customer-research/SKILL.md +287 -0
- package/bundled-skills/customer-research/evals/evals.json +162 -0
- package/bundled-skills/customer-research/references/source-guides.md +401 -0
- package/bundled-skills/cypress-skill/SKILL.md +235 -0
- package/bundled-skills/debugging-and-error-recovery/SKILL.md +313 -0
- package/bundled-skills/debugging-code/SKILL.md +284 -0
- package/bundled-skills/debugging-code/references/advanced-techniques.md +50 -0
- package/bundled-skills/debugging-code/references/installing-debuggers.md +67 -0
- package/bundled-skills/debugging-code/scripts/install-dap.sh +87 -0
- package/bundled-skills/deprecation-and-migration/SKILL.md +219 -0
- package/bundled-skills/design-philosophy/SKILL.md +40 -0
- package/bundled-skills/design-philosophy/reference.md +19 -0
- package/bundled-skills/design-spatial/SKILL.md +271 -0
- package/bundled-skills/design-spatial/scripts/layout-audit.js +138 -0
- package/bundled-skills/design-system/SKILL.md +140 -0
- package/bundled-skills/design-system/references/motion-choreography.md +111 -0
- package/bundled-skills/design-thinking/SKILL.md +109 -0
- package/bundled-skills/design-ux/SKILL.md +75 -0
- package/bundled-skills/dev-to-hashnode/README.md +62 -0
- package/bundled-skills/dev-to-hashnode/SKILL.md +399 -0
- package/bundled-skills/developer-advocacy/README.md +102 -0
- package/bundled-skills/developer-advocacy/SKILL.md +423 -0
- package/bundled-skills/developer-audience-context/README.md +61 -0
- package/bundled-skills/developer-audience-context/SKILL.md +271 -0
- package/bundled-skills/developer-audience-context/references/example-apitest.md +175 -0
- package/bundled-skills/developer-audience-context/references/template.md +152 -0
- package/bundled-skills/developer-churn/README.md +80 -0
- package/bundled-skills/developer-churn/SKILL.md +652 -0
- package/bundled-skills/developer-listening/README.md +30 -0
- package/bundled-skills/developer-listening/SKILL.md +232 -0
- package/bundled-skills/developer-newsletter/README.md +84 -0
- package/bundled-skills/developer-newsletter/SKILL.md +376 -0
- package/bundled-skills/developer-onboarding/README.md +35 -0
- package/bundled-skills/developer-onboarding/SKILL.md +530 -0
- package/bundled-skills/developer-sandbox/README.md +47 -0
- package/bundled-skills/developer-sandbox/SKILL.md +504 -0
- package/bundled-skills/developer-seo/README.md +36 -0
- package/bundled-skills/developer-seo/SKILL.md +296 -0
- package/bundled-skills/developer-signup-flow/README.md +36 -0
- package/bundled-skills/developer-signup-flow/SKILL.md +397 -0
- package/bundled-skills/devrel-content/README.md +81 -0
- package/bundled-skills/devrel-content/SKILL.md +428 -0
- package/bundled-skills/dispatch/SKILL.md +130 -0
- package/bundled-skills/docs/integrations/jetski-cortex.md +3 -3
- package/bundled-skills/docs/integrations/jetski-gemini-loader/README.md +1 -1
- package/bundled-skills/docs/maintainers/repo-growth-seo.md +3 -3
- package/bundled-skills/docs/maintainers/skills-update-guide.md +1 -1
- package/bundled-skills/docs/users/bundles.md +1 -1
- package/bundled-skills/docs/users/claude-code-skills.md +1 -1
- package/bundled-skills/docs/users/faq.md +1 -1
- package/bundled-skills/docs/users/gemini-cli-skills.md +1 -1
- package/bundled-skills/docs/users/getting-started.md +1 -1
- package/bundled-skills/docs/users/kiro-integration.md +1 -1
- package/bundled-skills/docs/users/usage.md +8 -8
- package/bundled-skills/docs/users/visual-guide.md +8 -8
- package/bundled-skills/docs-as-marketing/README.md +37 -0
- package/bundled-skills/docs-as-marketing/SKILL.md +398 -0
- package/bundled-skills/documentation-and-adrs/SKILL.md +291 -0
- package/bundled-skills/doubt-driven-development/SKILL.md +256 -0
- package/bundled-skills/eas-update-insights/SKILL.md +232 -0
- package/bundled-skills/eas-update-insights/agents/openai.yaml +4 -0
- package/bundled-skills/eas-update-insights/references/channel-insights-schema.md +47 -0
- package/bundled-skills/eas-update-insights/references/update-insights-schema.md +69 -0
- package/bundled-skills/expo-api-routes/SKILL.md +9 -5
- package/bundled-skills/expo-api-routes/agents/openai.yaml +4 -0
- package/bundled-skills/expo-brownfield/SKILL.md +71 -0
- package/bundled-skills/expo-brownfield/agents/openai.yaml +4 -0
- package/bundled-skills/expo-brownfield/references/brownfield-integrated.md +526 -0
- package/bundled-skills/expo-brownfield/references/brownfield-isolated.md +402 -0
- package/bundled-skills/expo-brownfield/references/comparison.md +63 -0
- package/bundled-skills/expo-brownfield/references/troubleshooting.md +88 -0
- package/bundled-skills/expo-cicd-workflows/SKILL.md +18 -16
- package/bundled-skills/expo-cicd-workflows/agents/openai.yaml +4 -0
- package/bundled-skills/expo-cicd-workflows/scripts/fetch.js +109 -0
- package/bundled-skills/expo-cicd-workflows/scripts/package.json +11 -0
- package/bundled-skills/expo-cicd-workflows/scripts/validate.js +84 -0
- package/bundled-skills/expo-deployment/SKILL.md +157 -53
- package/bundled-skills/expo-deployment/agents/openai.yaml +4 -0
- package/bundled-skills/expo-deployment/references/app-store-metadata.md +497 -0
- package/bundled-skills/expo-deployment/references/ios-app-store.md +371 -0
- package/bundled-skills/expo-deployment/references/play-store.md +246 -0
- package/bundled-skills/expo-deployment/references/testflight.md +58 -0
- package/bundled-skills/expo-deployment/references/workflows.md +160 -0
- package/bundled-skills/expo-dev-client/SKILL.md +25 -14
- package/bundled-skills/expo-dev-client/agents/openai.yaml +4 -0
- package/bundled-skills/expo-examples/SKILL.md +111 -0
- package/bundled-skills/expo-examples/references/catalog.md +105 -0
- package/bundled-skills/expo-module/SKILL.md +152 -0
- package/bundled-skills/expo-module/agents/openai.yaml +4 -0
- package/bundled-skills/expo-module/references/config-plugin.md +90 -0
- package/bundled-skills/expo-module/references/create-expo-module.md +206 -0
- package/bundled-skills/expo-module/references/lifecycle.md +127 -0
- package/bundled-skills/expo-module/references/module-config.md +48 -0
- package/bundled-skills/expo-module/references/native-module.md +286 -0
- package/bundled-skills/expo-module/references/native-view.md +171 -0
- package/bundled-skills/expo-observe/SKILL.md +44 -0
- package/bundled-skills/expo-observe/references/metrics.md +47 -0
- package/bundled-skills/expo-observe/references/queries.md +342 -0
- package/bundled-skills/expo-observe/references/setup.md +255 -0
- package/bundled-skills/expo-tailwind-setup/SKILL.md +13 -10
- package/bundled-skills/expo-tailwind-setup/agents/openai.yaml +4 -0
- package/bundled-skills/expo-ui/SKILL.md +61 -0
- package/bundled-skills/expo-ui/agents/openai.yaml +4 -0
- package/bundled-skills/expo-ui/references/drop-in-replacements.md +27 -0
- package/bundled-skills/expo-ui/references/jetpack-compose.md +73 -0
- package/bundled-skills/expo-ui/references/swift-ui.md +73 -0
- package/bundled-skills/expo-ui/references/universal.md +73 -0
- package/bundled-skills/expo-ui/scripts/list-components.js +193 -0
- package/bundled-skills/faf-context/SKILL.md +106 -0
- package/bundled-skills/faf-go/SKILL.md +336 -0
- package/bundled-skills/fixing-accessibility/SKILL.md +16 -5
- package/bundled-skills/fixing-metadata/SKILL.md +18 -8
- package/bundled-skills/fixing-motion-performance/SKILL.md +17 -6
- package/bundled-skills/formik-patterns/SKILL.md +379 -0
- package/bundled-skills/free-tier-strategy/README.md +39 -0
- package/bundled-skills/free-tier-strategy/SKILL.md +462 -0
- package/bundled-skills/frontend-architecture/SKILL.md +419 -0
- package/bundled-skills/frontend-data-contracts/SKILL.md +331 -0
- package/bundled-skills/frontend-observability/SKILL.md +434 -0
- package/bundled-skills/frontend-optimistic-mutations/SKILL.md +278 -0
- package/bundled-skills/frontend-seo/SKILL.md +710 -0
- package/bundled-skills/frontend-slides-frontend-slides/SKILL.md +397 -0
- package/bundled-skills/frontend-ui-engineering/SKILL.md +341 -0
- package/bundled-skills/gemini-api-dev/SKILL.md +96 -53
- package/bundled-skills/gemini-live-api-dev/SKILL.md +339 -0
- package/bundled-skills/gemini-omni-flash-api/SKILL.md +335 -0
- package/bundled-skills/gemini-omni-flash-api/scripts/upload_file.py +218 -0
- package/bundled-skills/gemini-omni-flash-api/scripts/video/generate_video.py +439 -0
- package/bundled-skills/gemini-omni-flash-api/scripts/video/inspect_video.py +197 -0
- package/bundled-skills/gemini-omni-flash-api/scripts/video/prep_video.py +255 -0
- package/bundled-skills/gh-image/SKILL.md +10 -2
- package/bundled-skills/git-workflow-and-versioning/SKILL.md +313 -0
- package/bundled-skills/github-presence/README.md +67 -0
- package/bundled-skills/github-presence/SKILL.md +484 -0
- package/bundled-skills/graphql-schema/SKILL.md +309 -0
- package/bundled-skills/hf-mcp/SKILL.md +195 -0
- package/bundled-skills/hf-mem/SKILL.md +92 -0
- package/bundled-skills/hugging-face-cli/SKILL.md +155 -115
- package/bundled-skills/hugging-face-community-evals/SKILL.md +14 -7
- package/bundled-skills/hugging-face-dataset-viewer/SKILL.md +30 -37
- package/bundled-skills/hugging-face-gradio/SKILL.md +14 -7
- package/bundled-skills/hugging-face-model-trainer/SKILL.md +42 -11
- package/bundled-skills/hugging-face-model-trainer/references/gguf_conversion.md +5 -0
- package/bundled-skills/hugging-face-model-trainer/scripts/convert_to_gguf.py +57 -51
- package/bundled-skills/hugging-face-model-trainer/scripts/hf_benchmarks.py +659 -0
- package/bundled-skills/hugging-face-paper-publisher/SKILL.md +13 -6
- package/bundled-skills/hugging-face-papers/SKILL.md +12 -5
- package/bundled-skills/hugging-face-trackio/SKILL.md +11 -5
- package/bundled-skills/hugging-face-vision-trainer/SKILL.md +11 -5
- package/bundled-skills/huggingface-best/SKILL.md +143 -0
- package/bundled-skills/huggingface-local-models/SKILL.md +130 -0
- package/bundled-skills/huggingface-local-models/references/hardware.md +38 -0
- package/bundled-skills/huggingface-local-models/references/hub-discovery.md +178 -0
- package/bundled-skills/huggingface-local-models/references/quantization.md +256 -0
- package/bundled-skills/huggingface-lora-space-builder/SKILL.md +409 -0
- package/bundled-skills/huggingface-lora-space-builder/references/adapting-to-the-lora.md +113 -0
- package/bundled-skills/huggingface-lora-space-builder/references/base-models/krea-2.md +63 -0
- package/bundled-skills/huggingface-lora-space-builder/references/base-models/ltx.md +205 -0
- package/bundled-skills/huggingface-lora-space-builder/references/base-models/qwen-image.md +144 -0
- package/bundled-skills/huggingface-lora-space-builder/references/creative-mode.md +262 -0
- package/bundled-skills/huggingface-lora-space-builder/references/tasks.md +124 -0
- package/bundled-skills/huggingface-lora-space-builder/references/zerogpu-and-publishing.md +194 -0
- package/bundled-skills/huggingface-spaces/SKILL.md +247 -0
- package/bundled-skills/huggingface-spaces/references/buckets.md +89 -0
- package/bundled-skills/huggingface-spaces/references/debugging.md +234 -0
- package/bundled-skills/huggingface-spaces/references/gradio.md +171 -0
- package/bundled-skills/huggingface-spaces/references/grants.md +56 -0
- package/bundled-skills/huggingface-spaces/references/inference-providers.md +85 -0
- package/bundled-skills/huggingface-spaces/references/known-errors.md +232 -0
- package/bundled-skills/huggingface-spaces/references/requirements.md +153 -0
- package/bundled-skills/huggingface-spaces/references/zerogpu.md +276 -0
- package/bundled-skills/huggingface-tool-builder/SKILL.md +137 -0
- package/bundled-skills/huggingface-tool-builder/references/baseline_hf_api.py +57 -0
- package/bundled-skills/huggingface-tool-builder/references/baseline_hf_api.sh +40 -0
- package/bundled-skills/huggingface-tool-builder/references/baseline_hf_api.tsx +57 -0
- package/bundled-skills/huggingface-tool-builder/references/find_models_by_paper.sh +230 -0
- package/bundled-skills/huggingface-tool-builder/references/hf_enrich_models.sh +96 -0
- package/bundled-skills/huggingface-tool-builder/references/hf_model_card_frontmatter.sh +188 -0
- package/bundled-skills/huggingface-tool-builder/references/hf_model_papers_auth.sh +171 -0
- package/bundled-skills/huggingface-zerogpu/SKILL.md +306 -0
- package/bundled-skills/huggingface-zerogpu/references/concurrency.md +79 -0
- package/bundled-skills/huggingface-zerogpu/references/cuda-and-deps.md +66 -0
- package/bundled-skills/huggingface-zerogpu/references/how-quota-works.md +74 -0
- package/bundled-skills/huggingface-zerogpu/references/how-zerogpu-works.md +50 -0
- package/bundled-skills/hugo-to-markdown/SKILL.md +201 -0
- package/bundled-skills/hugo-to-markdown/agents/openai.yaml +4 -0
- package/bundled-skills/hugo-to-markdown/references/conversion-workflow.md +143 -0
- package/bundled-skills/hugo-to-markdown/references/front-matter-and-content.md +145 -0
- package/bundled-skills/hugo-to-markdown/references/links-assets-and-validation.md +106 -0
- package/bundled-skills/hugo-to-markdown/references/shortcodes-and-render-hooks.md +281 -0
- package/bundled-skills/hugo-to-markdown/scripts/check_standard_markdown.py +70 -0
- package/bundled-skills/hugo-to-markdown/scripts/inventory_hugo_rules.py +188 -0
- package/bundled-skills/hyperexecute-skill/SKILL.md +65 -0
- package/bundled-skills/idea-refine/SKILL.md +195 -0
- package/bundled-skills/idea-refine/examples.md +238 -0
- package/bundled-skills/idea-refine/frameworks.md +99 -0
- package/bundled-skills/idea-refine/refinement-criteria.md +113 -0
- package/bundled-skills/idea-refine/scripts/idea-refine.sh +15 -0
- package/bundled-skills/implement/SKILL.md +32 -0
- package/bundled-skills/incremental-implementation/SKILL.md +262 -0
- package/bundled-skills/jest-skill/SKILL.md +182 -0
- package/bundled-skills/junit-5-skill/SKILL.md +236 -0
- package/bundled-skills/logic-diff/SKILL.md +50 -0
- package/bundled-skills/logic-diff/logic-diff-guide.md +75 -0
- package/bundled-skills/logic-explain/SKILL.md +50 -0
- package/bundled-skills/logic-explain/logic-explain-guide.md +74 -0
- package/bundled-skills/logic-fix-all/SKILL.md +87 -0
- package/bundled-skills/logic-fix-all/guide-phases-0-2-consent-scope-health.md +113 -0
- package/bundled-skills/logic-fix-all/guide-phases-3-5-review-locate-clarify.md +47 -0
- package/bundled-skills/logic-fix-all/guide-phases-6-9-fix-iterate-report.md +143 -0
- package/bundled-skills/logic-fix-all/logic-fix-all-guide.md +60 -0
- package/bundled-skills/logic-locate/SKILL.md +52 -0
- package/bundled-skills/logic-locate/logic-locate-guide.md +85 -0
- package/bundled-skills/logic-review/SKILL.md +100 -0
- package/bundled-skills/logic-review/logic-review-guide.md +296 -0
- package/bundled-skills/longbridge-content/SKILL.md +87 -0
- package/bundled-skills/longbridge-fundamentals/SKILL.md +134 -0
- package/bundled-skills/longbridge-market-data/SKILL.md +129 -0
- package/bundled-skills/loopy/SKILL.md +289 -0
- package/bundled-skills/loopy/agents/openai.yaml +4 -0
- package/bundled-skills/loopy/references/audit.md +61 -0
- package/bundled-skills/loopy/references/debrief.md +43 -0
- package/bundled-skills/loopy/references/discover.md +72 -0
- package/bundled-skills/loopy/references/publish.md +65 -0
- package/bundled-skills/loopy/references/run.md +73 -0
- package/bundled-skills/marketing-plan/SKILL.md +283 -0
- package/bundled-skills/marketing-plan/evals/evals.json +96 -0
- package/bundled-skills/marketing-plan/references/aarrr-framework.md +180 -0
- package/bundled-skills/marketing-plan/references/budget-planning.md +168 -0
- package/bundled-skills/marketing-plan/references/client-types.md +373 -0
- package/bundled-skills/marketing-plan/references/current-state-rubric.md +255 -0
- package/bundled-skills/marketing-plan/references/example-quietude.md +972 -0
- package/bundled-skills/marketing-plan/references/funding-stage-unlocks.md +230 -0
- package/bundled-skills/marketing-plan/references/growth-patterns.md +148 -0
- package/bundled-skills/marketing-plan/references/idea-cross-reference.md +265 -0
- package/bundled-skills/marketing-plan/references/measurement-framework.md +213 -0
- package/bundled-skills/marketing-plan/references/methodology.md +363 -0
- package/bundled-skills/marketing-plan/references/ops-stack-mapping.md +197 -0
- package/bundled-skills/marketing-plan/references/plan-template.md +494 -0
- package/bundled-skills/marketing-plan/references/team-and-agency-model.md +278 -0
- package/bundled-skills/mdpr-skill/SKILL.md +233 -0
- package/bundled-skills/monte-carlo-analyze-root-cause/SKILL.md +229 -0
- package/bundled-skills/monte-carlo-asset-health/SKILL.md +200 -0
- package/bundled-skills/monte-carlo-monitoring-advisor/SKILL.md +317 -0
- package/bundled-skills/monte-carlo-performance-diagnosis/SKILL.md +153 -0
- package/bundled-skills/monte-carlo-remediation/SKILL.md +359 -0
- package/bundled-skills/monte-carlo-storage-cost-analysis/SKILL.md +162 -0
- package/bundled-skills/native-data-fetching/SKILL.md +11 -8
- package/bundled-skills/native-data-fetching/agents/openai.yaml +4 -0
- package/bundled-skills/native-data-fetching/references/expo-router-loaders.md +341 -0
- package/bundled-skills/neon-ai-gateway/SKILL.md +237 -0
- package/bundled-skills/neon-functions/SKILL.md +465 -0
- package/bundled-skills/neon-functions/references/ai-sdk.md +139 -0
- package/bundled-skills/neon-functions/references/hono-websockets.md +145 -0
- package/bundled-skills/neon-functions/references/mastra-studio.md +132 -0
- package/bundled-skills/neon-functions/references/mcp.md +137 -0
- package/bundled-skills/neon-functions/references/sentry.md +131 -0
- package/bundled-skills/neon-functions/references/sse.md +143 -0
- package/bundled-skills/neon-object-storage/SKILL.md +200 -0
- package/bundled-skills/neon-postgres/SKILL.md +234 -469
- package/bundled-skills/neon-postgres-branches/SKILL.md +292 -0
- package/bundled-skills/neon-postgres-egress-optimizer/SKILL.md +256 -0
- package/bundled-skills/newman-cicd-integration/SKILL.md +330 -0
- package/bundled-skills/observability-and-instrumentation/SKILL.md +216 -0
- package/bundled-skills/odw/SKILL.md +57 -0
- package/bundled-skills/offers/SKILL.md +168 -0
- package/bundled-skills/offers/references/bonus-stacking.md +150 -0
- package/bundled-skills/offers/references/examples.md +215 -0
- package/bundled-skills/offers/references/guarantee-design.md +172 -0
- package/bundled-skills/offers/references/offer-anatomy.md +203 -0
- package/bundled-skills/offers/references/offer-formats.md +240 -0
- package/bundled-skills/offers/references/scarcity-urgency.md +175 -0
- package/bundled-skills/offers/references/value-equation.md +134 -0
- package/bundled-skills/onboarding/SKILL.md +235 -0
- package/bundled-skills/onboarding/evals/evals.json +92 -0
- package/bundled-skills/onboarding/references/experiments.md +258 -0
- package/bundled-skills/open-source-marketing/README.md +100 -0
- package/bundled-skills/open-source-marketing/SKILL.md +466 -0
- package/bundled-skills/openapi-spec-generator/SKILL.md +335 -0
- package/bundled-skills/performance-optimization/SKILL.md +363 -0
- package/bundled-skills/planning-and-task-breakdown/SKILL.md +240 -0
- package/bundled-skills/polis-protocol-a-self-optimizing-city-of-agents/SKILL.md +170 -0
- package/bundled-skills/postgresql-cli/SKILL.md +498 -0
- package/bundled-skills/postgresql-cli/references/cli-options-and-variables.md +444 -0
- package/bundled-skills/postgresql-cli/references/meta-commands-core.md +466 -0
- package/bundled-skills/postgresql-cli/references/meta-commands-formatting.md +154 -0
- package/bundled-skills/postgresql-cli/references/meta-commands-inspection.md +134 -0
- package/bundled-skills/postgresql-cli/references/tips-advanced.md +289 -0
- package/bundled-skills/postgresql-cli/references/tips-workflows.md +407 -0
- package/bundled-skills/postman-collection-generator/SKILL.md +184 -0
- package/bundled-skills/postman-newman-automation/SKILL.md +311 -0
- package/bundled-skills/postman-openapi-converter/SKILL.md +174 -0
- package/bundled-skills/power-user-cultivation/README.md +78 -0
- package/bundled-skills/power-user-cultivation/SKILL.md +598 -0
- package/bundled-skills/pricing/SKILL.md +246 -0
- package/bundled-skills/pricing/evals/evals.json +90 -0
- package/bundled-skills/pricing/references/research-methods.md +152 -0
- package/bundled-skills/pricing/references/tier-structure.md +232 -0
- package/bundled-skills/privacy-mask/SKILL.md +96 -0
- package/bundled-skills/product-marketing/SKILL.md +256 -0
- package/bundled-skills/product-marketing/evals/evals.json +85 -0
- package/bundled-skills/public-relations/SKILL.md +146 -0
- package/bundled-skills/public-relations/references/journalist-pitching.md +368 -0
- package/bundled-skills/public-relations/references/media-outlets.md +207 -0
- package/bundled-skills/public-relations/references/newsjacking.md +218 -0
- package/bundled-skills/public-relations/references/press-platforms.md +188 -0
- package/bundled-skills/puppeteer-skill/SKILL.md +143 -0
- package/bundled-skills/pytest-skill/SKILL.md +201 -0
- package/bundled-skills/rclone-cli/SKILL.md +351 -0
- package/bundled-skills/rclone-cli/references/bisync.md +2003 -0
- package/bundled-skills/rclone-cli/references/cache.md +726 -0
- package/bundled-skills/rclone-cli/references/chunker.md +484 -0
- package/bundled-skills/rclone-cli/references/combine.md +187 -0
- package/bundled-skills/rclone-cli/references/commands/rclone.md +1169 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_about.md +89 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_archive.md +49 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_archive_create.md +97 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_archive_extract.md +83 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_archive_list.md +98 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_authorize.md +53 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_backend.md +82 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_bisync.md +160 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_cat.md +122 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_check.md +134 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_checksum.md +120 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_cleanup.md +49 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_completion.md +40 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_completion_bash.md +70 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_completion_fish.md +57 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_completion_powershell.md +49 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_completion_zsh.md +57 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_config.md +56 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_config_create.md +150 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_config_delete.md +33 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_config_disconnect.md +40 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_config_dump.md +33 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_config_edit.md +39 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_config_encryption.md +36 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_config_encryption_check.md +43 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_config_encryption_remove.md +44 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_config_encryption_set.md +54 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_config_file.md +33 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_config_password.md +49 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_config_paths.md +33 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_config_providers.md +33 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_config_reconnect.md +40 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_config_redacted.md +45 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_config_show.md +33 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_config_string.md +57 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_config_touch.md +33 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_config_update.md +150 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_config_userinfo.md +38 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_convmv.md +440 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_copy.md +258 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_copyto.md +219 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_copyurl.md +91 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_cryptcheck.md +141 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_cryptdecode.md +51 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_dedupe.md +166 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_delete.md +117 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_deletefile.md +50 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_gendocs.md +39 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_gitannex.md +113 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_hashsum.md +120 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_link.md +60 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_listremotes.md +55 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_ls.md +114 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_lsd.md +127 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_lsf.md +241 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_lsjson.md +195 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_lsl.md +115 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_md5sum.md +96 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_mkdir.md +43 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_mount.md +1105 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_move.md +223 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_moveto.md +218 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_ncdu.md +140 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_nfsmount.md +1111 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_obscure.md +60 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_purge.md +58 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_rc.md +111 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_rcat.md +79 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_rcd.md +219 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_rmdir.md +52 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_rmdirs.md +66 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_selfupdate.md +91 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_serve.md +61 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_serve_dlna.md +619 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_serve_docker.md +653 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_serve_ftp.md +698 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_serve_http.md +837 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_serve_nfs.md +670 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_serve_restic.md +246 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_serve_s3.md +867 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_serve_sftp.md +745 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_serve_webdav.md +896 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_settier.md +63 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_sha1sum.md +99 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_size.md +94 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_sync.md +252 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_test.md +51 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_test_changenotify.md +34 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_test_histogram.md +41 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_test_info.md +51 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_test_makefile.md +39 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_test_makefiles.md +47 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_test_memory.md +33 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_test_speed.md +66 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_touch.md +110 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_tree.md +121 -0
- package/bundled-skills/rclone-cli/references/commands/rclone_version.md +83 -0
- package/bundled-skills/rclone-cli/references/crypt.md +844 -0
- package/bundled-skills/rclone-cli/references/docker.md +615 -0
- package/bundled-skills/rclone-cli/references/faq.md +364 -0
- package/bundled-skills/rclone-cli/references/filtering.md +991 -0
- package/bundled-skills/rclone-cli/references/flags.md +1221 -0
- package/bundled-skills/rclone-cli/references/hasher.md +383 -0
- package/bundled-skills/rclone-cli/references/install.md +686 -0
- package/bundled-skills/rclone-cli/references/overview.md +620 -0
- package/bundled-skills/rclone-cli/references/providers/alias.md +141 -0
- package/bundled-skills/rclone-cli/references/providers/archive.md +287 -0
- package/bundled-skills/rclone-cli/references/providers/azureblob.md +1140 -0
- package/bundled-skills/rclone-cli/references/providers/azurefiles.md +834 -0
- package/bundled-skills/rclone-cli/references/providers/b2.md +879 -0
- package/bundled-skills/rclone-cli/references/providers/box.md +573 -0
- package/bundled-skills/rclone-cli/references/providers/cloudinary.md +259 -0
- package/bundled-skills/rclone-cli/references/providers/compress.md +222 -0
- package/bundled-skills/rclone-cli/references/providers/drime.md +319 -0
- package/bundled-skills/rclone-cli/references/providers/drive.md +2032 -0
- package/bundled-skills/rclone-cli/references/providers/dropbox.md +661 -0
- package/bundled-skills/rclone-cli/references/providers/fichier.md +230 -0
- package/bundled-skills/rclone-cli/references/providers/filefabric.md +298 -0
- package/bundled-skills/rclone-cli/references/providers/filelu.md +256 -0
- package/bundled-skills/rclone-cli/references/providers/filen.md +243 -0
- package/bundled-skills/rclone-cli/references/providers/filescom.md +209 -0
- package/bundled-skills/rclone-cli/references/providers/ftp.md +621 -0
- package/bundled-skills/rclone-cli/references/providers/gofile.md +274 -0
- package/bundled-skills/rclone-cli/references/providers/googlecloudstorage.md +846 -0
- package/bundled-skills/rclone-cli/references/providers/googlephotos.md +676 -0
- package/bundled-skills/rclone-cli/references/providers/hdfs.md +263 -0
- package/bundled-skills/rclone-cli/references/providers/hidrive.md +487 -0
- package/bundled-skills/rclone-cli/references/providers/http.md +323 -0
- package/bundled-skills/rclone-cli/references/providers/iclouddrive.md +212 -0
- package/bundled-skills/rclone-cli/references/providers/internetarchive.md +355 -0
- package/bundled-skills/rclone-cli/references/providers/internxt.md +189 -0
- package/bundled-skills/rclone-cli/references/providers/jottacloud.md +604 -0
- package/bundled-skills/rclone-cli/references/providers/koofr.md +395 -0
- package/bundled-skills/rclone-cli/references/providers/linkbox.md +117 -0
- package/bundled-skills/rclone-cli/references/providers/local.md +749 -0
- package/bundled-skills/rclone-cli/references/providers/mailru.md +470 -0
- package/bundled-skills/rclone-cli/references/providers/mega.md +361 -0
- package/bundled-skills/rclone-cli/references/providers/memory.md +109 -0
- package/bundled-skills/rclone-cli/references/providers/netstorage.md +371 -0
- package/bundled-skills/rclone-cli/references/providers/onedrive.md +1322 -0
- package/bundled-skills/rclone-cli/references/providers/opendrive.md +222 -0
- package/bundled-skills/rclone-cli/references/providers/oracleobjectstorage/_index.md +932 -0
- package/bundled-skills/rclone-cli/references/providers/oracleobjectstorage/tutorial_mount.md +503 -0
- package/bundled-skills/rclone-cli/references/providers/pcloud.md +373 -0
- package/bundled-skills/rclone-cli/references/providers/pikpak.md +373 -0
- package/bundled-skills/rclone-cli/references/providers/pixeldrain.md +182 -0
- package/bundled-skills/rclone-cli/references/providers/premiumizeme.md +253 -0
- package/bundled-skills/rclone-cli/references/providers/protondrive.md +397 -0
- package/bundled-skills/rclone-cli/references/providers/putio.md +246 -0
- package/bundled-skills/rclone-cli/references/providers/qingstor.md +346 -0
- package/bundled-skills/rclone-cli/references/providers/quatrix.md +295 -0
- package/bundled-skills/rclone-cli/references/providers/s3.md +9687 -0
- package/bundled-skills/rclone-cli/references/providers/seafile.md +432 -0
- package/bundled-skills/rclone-cli/references/providers/sftp.md +1277 -0
- package/bundled-skills/rclone-cli/references/providers/shade.md +267 -0
- package/bundled-skills/rclone-cli/references/providers/sharefile.md +357 -0
- package/bundled-skills/rclone-cli/references/providers/sia.md +223 -0
- package/bundled-skills/rclone-cli/references/providers/smb.md +309 -0
- package/bundled-skills/rclone-cli/references/providers/storj.md +503 -0
- package/bundled-skills/rclone-cli/references/providers/sugarsync.md +305 -0
- package/bundled-skills/rclone-cli/references/providers/swift.md +744 -0
- package/bundled-skills/rclone-cli/references/providers/ulozto.md +283 -0
- package/bundled-skills/rclone-cli/references/providers/webdav.md +565 -0
- package/bundled-skills/rclone-cli/references/providers/yandex.md +283 -0
- package/bundled-skills/rclone-cli/references/providers/zoho.md +305 -0
- package/bundled-skills/rclone-cli/references/rc.md +2725 -0
- package/bundled-skills/rclone-cli/references/union.md +336 -0
- package/bundled-skills/rclone-cli/references/usage.md +3555 -0
- package/bundled-skills/rclone-cli/scripts/install.sh +204 -0
- package/bundled-skills/redis-cli/SKILL.md +392 -0
- package/bundled-skills/redis-cli/references/advanced-features.md +338 -0
- package/bundled-skills/redis-cli/references/connection-and-options.md +258 -0
- package/bundled-skills/redis-cli/references/data-query-commands.md +417 -0
- package/bundled-skills/redis-cli/references/inspection-and-monitoring.md +309 -0
- package/bundled-skills/redis-cli/references/key-management.md +252 -0
- package/bundled-skills/redis-cli/references/module-data-types.md +429 -0
- package/bundled-skills/redis-cli/references/server-administration.md +366 -0
- package/bundled-skills/repo-maintainer/SKILL.md +480 -0
- package/bundled-skills/resolving-merge-conflicts/SKILL.md +32 -0
- package/bundled-skills/review-and-simplify-changes/SKILL.md +202 -0
- package/bundled-skills/review-swarm/SKILL.md +185 -0
- package/bundled-skills/review-swarm/agents/openai.yaml +4 -0
- package/bundled-skills/riffkit/SKILL.md +122 -0
- package/bundled-skills/robot-framework-skill/SKILL.md +153 -0
- package/bundled-skills/sdk-dx/README.md +39 -0
- package/bundled-skills/sdk-dx/SKILL.md +541 -0
- package/bundled-skills/security-and-hardening/SKILL.md +474 -0
- package/bundled-skills/selenium-skill/SKILL.md +258 -0
- package/bundled-skills/shipping-and-launch/SKILL.md +323 -0
- package/bundled-skills/smartui-skill/SKILL.md +149 -0
- package/bundled-skills/source-driven-development/SKILL.md +207 -0
- package/bundled-skills/spec-driven-development/SKILL.md +217 -0
- package/bundled-skills/sql-sentinel/SKILL.md +12 -3
- package/bundled-skills/styleseed-design-review/SKILL.md +126 -0
- package/bundled-skills/supabase/CHANGELOG.md +35 -0
- package/bundled-skills/supabase/SKILL.md +149 -0
- package/bundled-skills/supabase/assets/feedback-issue-template.md +17 -0
- package/bundled-skills/supabase/references/skill-feedback.md +17 -0
- package/bundled-skills/supabase-postgres-best-practices/CHANGELOG.md +29 -0
- package/bundled-skills/supabase-postgres-best-practices/SKILL.md +74 -0
- package/bundled-skills/supabase-postgres-best-practices/references/_contributing.md +170 -0
- package/bundled-skills/supabase-postgres-best-practices/references/_sections.md +39 -0
- package/bundled-skills/supabase-postgres-best-practices/references/_template.md +34 -0
- package/bundled-skills/supabase-postgres-best-practices/references/advanced-full-text-search.md +55 -0
- package/bundled-skills/supabase-postgres-best-practices/references/advanced-jsonb-indexing.md +49 -0
- package/bundled-skills/supabase-postgres-best-practices/references/conn-idle-timeout.md +46 -0
- package/bundled-skills/supabase-postgres-best-practices/references/conn-limits.md +44 -0
- package/bundled-skills/supabase-postgres-best-practices/references/conn-pooling.md +41 -0
- package/bundled-skills/supabase-postgres-best-practices/references/conn-prepared-statements.md +46 -0
- package/bundled-skills/supabase-postgres-best-practices/references/data-batch-inserts.md +54 -0
- package/bundled-skills/supabase-postgres-best-practices/references/data-n-plus-one.md +53 -0
- package/bundled-skills/supabase-postgres-best-practices/references/data-pagination.md +50 -0
- package/bundled-skills/supabase-postgres-best-practices/references/data-upsert.md +50 -0
- package/bundled-skills/supabase-postgres-best-practices/references/lock-advisory.md +56 -0
- package/bundled-skills/supabase-postgres-best-practices/references/lock-deadlock-prevention.md +68 -0
- package/bundled-skills/supabase-postgres-best-practices/references/lock-short-transactions.md +50 -0
- package/bundled-skills/supabase-postgres-best-practices/references/lock-skip-locked.md +54 -0
- package/bundled-skills/supabase-postgres-best-practices/references/monitor-explain-analyze.md +45 -0
- package/bundled-skills/supabase-postgres-best-practices/references/monitor-pg-stat-statements.md +55 -0
- package/bundled-skills/supabase-postgres-best-practices/references/monitor-vacuum-analyze.md +55 -0
- package/bundled-skills/supabase-postgres-best-practices/references/query-composite-indexes.md +44 -0
- package/bundled-skills/supabase-postgres-best-practices/references/query-covering-indexes.md +40 -0
- package/bundled-skills/supabase-postgres-best-practices/references/query-index-types.md +48 -0
- package/bundled-skills/supabase-postgres-best-practices/references/query-missing-indexes.md +43 -0
- package/bundled-skills/supabase-postgres-best-practices/references/query-partial-indexes.md +45 -0
- package/bundled-skills/supabase-postgres-best-practices/references/schema-constraints.md +80 -0
- package/bundled-skills/supabase-postgres-best-practices/references/schema-data-types.md +46 -0
- package/bundled-skills/supabase-postgres-best-practices/references/schema-foreign-key-indexes.md +59 -0
- package/bundled-skills/supabase-postgres-best-practices/references/schema-lowercase-identifiers.md +55 -0
- package/bundled-skills/supabase-postgres-best-practices/references/schema-partitioning.md +55 -0
- package/bundled-skills/supabase-postgres-best-practices/references/schema-primary-keys.md +61 -0
- package/bundled-skills/supabase-postgres-best-practices/references/security-privileges.md +54 -0
- package/bundled-skills/supabase-postgres-best-practices/references/security-rls-basics.md +50 -0
- package/bundled-skills/supabase-postgres-best-practices/references/security-rls-performance.md +63 -0
- package/bundled-skills/swiftui-expert-skill/SKILL.md +175 -242
- package/bundled-skills/swiftui-expert-skill/references/accessibility-patterns.md +215 -0
- package/bundled-skills/swiftui-expert-skill/references/animation-advanced.md +428 -0
- package/bundled-skills/swiftui-expert-skill/references/animation-basics.md +284 -0
- package/bundled-skills/swiftui-expert-skill/references/animation-transitions.md +326 -0
- package/bundled-skills/swiftui-expert-skill/references/charts-accessibility.md +135 -0
- package/bundled-skills/swiftui-expert-skill/references/charts.md +602 -0
- package/bundled-skills/swiftui-expert-skill/references/focus-patterns.md +299 -0
- package/bundled-skills/swiftui-expert-skill/references/image-optimization.md +203 -0
- package/bundled-skills/swiftui-expert-skill/references/latest-apis.md +528 -0
- package/bundled-skills/swiftui-expert-skill/references/layout-best-practices.md +266 -0
- package/bundled-skills/swiftui-expert-skill/references/liquid-glass.md +423 -0
- package/bundled-skills/swiftui-expert-skill/references/list-patterns.md +467 -0
- package/bundled-skills/swiftui-expert-skill/references/localization.md +194 -0
- package/bundled-skills/swiftui-expert-skill/references/macos-scenes.md +318 -0
- package/bundled-skills/swiftui-expert-skill/references/macos-views.md +357 -0
- package/bundled-skills/swiftui-expert-skill/references/macos-window-styling.md +303 -0
- package/bundled-skills/swiftui-expert-skill/references/performance-patterns.md +417 -0
- package/bundled-skills/swiftui-expert-skill/references/previews.md +313 -0
- package/bundled-skills/swiftui-expert-skill/references/scroll-patterns.md +293 -0
- package/bundled-skills/swiftui-expert-skill/references/sheet-navigation-patterns.md +363 -0
- package/bundled-skills/swiftui-expert-skill/references/soft-deprecation.md +39 -0
- package/bundled-skills/swiftui-expert-skill/references/state-management.md +492 -0
- package/bundled-skills/swiftui-expert-skill/references/text-patterns.md +34 -0
- package/bundled-skills/swiftui-expert-skill/references/trace-analysis.md +295 -0
- package/bundled-skills/swiftui-expert-skill/references/trace-recording.md +134 -0
- package/bundled-skills/swiftui-expert-skill/references/view-structure.md +854 -0
- package/bundled-skills/swiftui-expert-skill/scripts/analyze_trace.py +301 -0
- package/bundled-skills/swiftui-expert-skill/scripts/instruments_parser/__init__.py +1 -0
- package/bundled-skills/swiftui-expert-skill/scripts/instruments_parser/causes.py +187 -0
- package/bundled-skills/swiftui-expert-skill/scripts/instruments_parser/correlate.py +179 -0
- package/bundled-skills/swiftui-expert-skill/scripts/instruments_parser/events.py +291 -0
- package/bundled-skills/swiftui-expert-skill/scripts/instruments_parser/hangs.py +108 -0
- package/bundled-skills/swiftui-expert-skill/scripts/instruments_parser/hitches.py +145 -0
- package/bundled-skills/swiftui-expert-skill/scripts/instruments_parser/summary.py +243 -0
- package/bundled-skills/swiftui-expert-skill/scripts/instruments_parser/swiftui.py +195 -0
- package/bundled-skills/swiftui-expert-skill/scripts/instruments_parser/time_profiler.py +135 -0
- package/bundled-skills/swiftui-expert-skill/scripts/instruments_parser/xctrace.py +117 -0
- package/bundled-skills/swiftui-expert-skill/scripts/instruments_parser/xml_utils.py +224 -0
- package/bundled-skills/swiftui-expert-skill/scripts/record_trace.py +252 -0
- package/bundled-skills/technical-tutorials/README.md +90 -0
- package/bundled-skills/technical-tutorials/SKILL.md +581 -0
- package/bundled-skills/test-framework-migration-skill/SKILL.md +122 -0
- package/bundled-skills/testng-skill/SKILL.md +163 -0
- package/bundled-skills/train-sentence-transformers/SKILL.md +118 -0
- package/bundled-skills/train-sentence-transformers/references/base_model_selection.md +79 -0
- package/bundled-skills/train-sentence-transformers/references/dataset_formats.md +128 -0
- package/bundled-skills/train-sentence-transformers/references/evaluators_cross_encoder.md +116 -0
- package/bundled-skills/train-sentence-transformers/references/evaluators_sentence_transformer.md +151 -0
- package/bundled-skills/train-sentence-transformers/references/evaluators_sparse_encoder.md +121 -0
- package/bundled-skills/train-sentence-transformers/references/hardware_guide.md +105 -0
- package/bundled-skills/train-sentence-transformers/references/hf_jobs_execution.md +173 -0
- package/bundled-skills/train-sentence-transformers/references/losses_cross_encoder.md +137 -0
- package/bundled-skills/train-sentence-transformers/references/losses_sentence_transformer.md +246 -0
- package/bundled-skills/train-sentence-transformers/references/losses_sparse_encoder.md +106 -0
- package/bundled-skills/train-sentence-transformers/references/model_architectures.md +178 -0
- package/bundled-skills/train-sentence-transformers/references/prompts_and_instructions.md +160 -0
- package/bundled-skills/train-sentence-transformers/references/training_args.md +269 -0
- package/bundled-skills/train-sentence-transformers/references/troubleshooting.md +225 -0
- package/bundled-skills/train-sentence-transformers/scripts/mine_hard_negatives.py +199 -0
- package/bundled-skills/train-sentence-transformers/scripts/train_cross_encoder_distillation_example.py +254 -0
- package/bundled-skills/train-sentence-transformers/scripts/train_cross_encoder_example.py +253 -0
- package/bundled-skills/train-sentence-transformers/scripts/train_cross_encoder_listwise_example.py +282 -0
- package/bundled-skills/train-sentence-transformers/scripts/train_sentence_transformer_distillation_example.py +303 -0
- package/bundled-skills/train-sentence-transformers/scripts/train_sentence_transformer_example.py +227 -0
- package/bundled-skills/train-sentence-transformers/scripts/train_sentence_transformer_make_multilingual_example.py +308 -0
- package/bundled-skills/train-sentence-transformers/scripts/train_sentence_transformer_matryoshka_example.py +212 -0
- package/bundled-skills/train-sentence-transformers/scripts/train_sentence_transformer_multi_dataset_example.py +258 -0
- package/bundled-skills/train-sentence-transformers/scripts/train_sentence_transformer_static_embedding_example.py +273 -0
- package/bundled-skills/train-sentence-transformers/scripts/train_sentence_transformer_with_lora_example.py +275 -0
- package/bundled-skills/train-sentence-transformers/scripts/train_sparse_encoder_distillation_example.py +262 -0
- package/bundled-skills/train-sentence-transformers/scripts/train_sparse_encoder_example.py +237 -0
- package/bundled-skills/transformers-js/SKILL.md +83 -29
- package/bundled-skills/transformers-js/references/CONFIGURATION.md +55 -7
- package/bundled-skills/transformers-js/references/EXAMPLES.md +98 -83
- package/bundled-skills/transformers-js/references/MODEL_REGISTRY.md +197 -0
- package/bundled-skills/transformers-js/references/PIPELINE_OPTIONS.md +31 -19
- package/bundled-skills/transformers-js/references/TEXT_GENERATION.md +18 -18
- package/bundled-skills/trl-training/SKILL.md +327 -0
- package/bundled-skills/tune-monitor/SKILL.md +268 -0
- package/bundled-skills/ui-a11y/SKILL.md +76 -68
- package/bundled-skills/ui-component/SKILL.md +54 -82
- package/bundled-skills/ui-lint/SKILL.md +111 -0
- package/bundled-skills/ui-motion/SKILL.md +181 -0
- package/bundled-skills/ui-page/SKILL.md +80 -90
- package/bundled-skills/ui-pattern/SKILL.md +50 -68
- package/bundled-skills/ui-review/SKILL.md +95 -77
- package/bundled-skills/ui-score/SKILL.md +145 -0
- package/bundled-skills/ui-setup/SKILL.md +196 -88
- package/bundled-skills/ui-skills-root/SKILL.md +72 -0
- package/bundled-skills/ui-tokens/SKILL.md +44 -52
- package/bundled-skills/ui-update/SKILL.md +167 -0
- package/bundled-skills/unslop-commit/SKILL.md +113 -0
- package/bundled-skills/unslop-file/SKILL.md +157 -0
- package/bundled-skills/unslop-review/SKILL.md +102 -0
- package/bundled-skills/update-swiftui-apis/SKILL.md +120 -0
- package/bundled-skills/update-swiftui-apis/references/scan-manifest.md +230 -0
- package/bundled-skills/upgrading-expo/SKILL.md +107 -82
- package/bundled-skills/upgrading-expo/agents/openai.yaml +4 -0
- package/bundled-skills/upgrading-expo/references/expo-av-to-audio.md +132 -0
- package/bundled-skills/upgrading-expo/references/expo-av-to-video.md +160 -0
- package/bundled-skills/upgrading-expo/references/native-tabs.md +124 -0
- package/bundled-skills/upgrading-expo/references/new-architecture.md +79 -0
- package/bundled-skills/upgrading-expo/references/react-19.md +79 -0
- package/bundled-skills/upgrading-expo/references/react-compiler.md +59 -0
- package/bundled-skills/upgrading-expo/references/react-navigation-to-expo-router.md +61 -0
- package/bundled-skills/usage-based-pricing/README.md +40 -0
- package/bundled-skills/usage-based-pricing/SKILL.md +547 -0
- package/bundled-skills/use-dom/SKILL.md +428 -0
- package/bundled-skills/use-dom/agents/openai.yaml +4 -0
- package/bundled-skills/ux-audit/SKILL.md +112 -44
- package/bundled-skills/ux-copy/SKILL.md +105 -73
- package/bundled-skills/ux-feedback/SKILL.md +106 -58
- package/bundled-skills/ux-flow/SKILL.md +51 -50
- package/bundled-skills/vitest-skill/SKILL.md +165 -0
- package/bundled-skills/weaviate/references/environment_requirements.md +4 -1
- package/bundled-skills/weaviate/scripts/weaviate_conn.py +51 -17
- package/bundled-skills/webdriverio-skill/SKILL.md +157 -0
- package/bundled-skills/wjttc-builder/SKILL.md +355 -0
- package/bundled-skills/wjttc-tester/SKILL.md +190 -0
- package/bundled-skills/youtube-notetaker/scripts/serve.py +20 -11
- package/package.json +1 -1
- package/skills_index.json +4404 -146
|
@@ -0,0 +1,991 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "Rclone Filtering"
|
|
3
|
+
description: "Rclone filtering, includes and excludes"
|
|
4
|
+
versionIntroduced: "v1.22"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
> **Official documentation:** [https://rclone.org/filtering/](https://rclone.org/filtering/)
|
|
8
|
+
# Filtering, includes and excludes
|
|
9
|
+
|
|
10
|
+
Filter flags determine which files rclone `sync`, `move`, `ls`, `lsl`,
|
|
11
|
+
`md5sum`, `sha1sum`, `size`, `delete`, `check` and similar commands
|
|
12
|
+
apply to.
|
|
13
|
+
|
|
14
|
+
They are specified in terms of path/file name patterns; path/file
|
|
15
|
+
lists; file age and size, or presence of a file in a directory. Bucket
|
|
16
|
+
based remotes without the concept of directory apply filters to object
|
|
17
|
+
key, age and size in an analogous way.
|
|
18
|
+
|
|
19
|
+
Rclone `purge` does not obey filters.
|
|
20
|
+
|
|
21
|
+
To test filters without risk of damage to data, apply them to `rclone
|
|
22
|
+
ls`, or with the `--dry-run` and `-vv` flags.
|
|
23
|
+
|
|
24
|
+
Rclone filter patterns can only be used in filter command line options, not
|
|
25
|
+
in the specification of a remote.
|
|
26
|
+
|
|
27
|
+
E.g. `rclone copy "remote:dir*.jpg" /path/to/dir` does not have a filter effect.
|
|
28
|
+
`rclone copy remote:dir /path/to/dir --include "*.jpg"` does.
|
|
29
|
+
|
|
30
|
+
**Important** Avoid mixing any two of `--include...`, `--exclude...` or
|
|
31
|
+
`--filter...` flags in an rclone command. The results might not be what
|
|
32
|
+
you expect. Instead use a `--filter...` flag.
|
|
33
|
+
|
|
34
|
+
## Patterns for matching path/file names
|
|
35
|
+
|
|
36
|
+
### Pattern syntax {#patterns}
|
|
37
|
+
|
|
38
|
+
Here is a formal definition of the pattern syntax,
|
|
39
|
+
[examples](#examples) are below.
|
|
40
|
+
|
|
41
|
+
Rclone matching rules follow a glob style:
|
|
42
|
+
|
|
43
|
+
```text
|
|
44
|
+
* matches any sequence of non-separator (/) characters
|
|
45
|
+
** matches any sequence of characters including / separators
|
|
46
|
+
? matches any single non-separator (/) character
|
|
47
|
+
[ [ ! ] { character-range } ]
|
|
48
|
+
character class (must be non-empty)
|
|
49
|
+
{ pattern-list }
|
|
50
|
+
pattern alternatives
|
|
51
|
+
{{ regexp }}
|
|
52
|
+
regular expression to match
|
|
53
|
+
c matches character c (c != *, **, ?, \, [, {, })
|
|
54
|
+
\c matches reserved character c (c = *, **, ?, \, [, {, }) or character class
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
character-range:
|
|
58
|
+
|
|
59
|
+
```text
|
|
60
|
+
c matches character c (c != \, -, ])
|
|
61
|
+
\c matches reserved character c (c = \, -, ])
|
|
62
|
+
lo - hi matches character c for lo <= c <= hi
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
pattern-list:
|
|
66
|
+
|
|
67
|
+
```text
|
|
68
|
+
pattern { , pattern }
|
|
69
|
+
comma-separated (without spaces) patterns
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
character classes (see [Go regular expression reference](https://golang.org/pkg/regexp/syntax/))
|
|
73
|
+
include:
|
|
74
|
+
|
|
75
|
+
```text
|
|
76
|
+
Named character classes (e.g. [\d], [^\d], [\D], [^\D])
|
|
77
|
+
Perl character classes (e.g. \s, \S, \w, \W)
|
|
78
|
+
ASCII character classes (e.g. [[:alnum:]], [[:alpha:]], [[:punct:]], [[:xdigit:]])
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
regexp for advanced users to insert a regular expression - see [below](#regexp)
|
|
82
|
+
for more info:
|
|
83
|
+
|
|
84
|
+
```text
|
|
85
|
+
Any re2 regular expression not containing `}}`
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
If the filter pattern starts with a `/` then it only matches
|
|
89
|
+
at the top level of the directory tree,
|
|
90
|
+
**relative to the root of the remote** (not necessarily the root
|
|
91
|
+
of the drive). If it does not start with `/` then it is matched
|
|
92
|
+
starting at the **end of the path/file name** but it only matches
|
|
93
|
+
a complete path element - it must match from a `/`
|
|
94
|
+
separator or the beginning of the path/file.
|
|
95
|
+
|
|
96
|
+
```text
|
|
97
|
+
file.jpg - matches "file.jpg"
|
|
98
|
+
- matches "directory/file.jpg"
|
|
99
|
+
- doesn't match "afile.jpg"
|
|
100
|
+
- doesn't match "directory/afile.jpg"
|
|
101
|
+
/file.jpg - matches "file.jpg" in the root directory of the remote
|
|
102
|
+
- doesn't match "afile.jpg"
|
|
103
|
+
- doesn't match "directory/file.jpg"
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
The top level of the remote might not be the top level of the drive.
|
|
107
|
+
|
|
108
|
+
E.g. for a Microsoft Windows local directory structure
|
|
109
|
+
|
|
110
|
+
```text
|
|
111
|
+
F:
|
|
112
|
+
├── bkp
|
|
113
|
+
├── data
|
|
114
|
+
│ ├── excl
|
|
115
|
+
│ │ ├── 123.jpg
|
|
116
|
+
│ │ └── 456.jpg
|
|
117
|
+
│ ├── incl
|
|
118
|
+
│ │ └── document.pdf
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
To copy the contents of folder `data` into folder `bkp` excluding the contents
|
|
122
|
+
of subfolder `excl`the following command treats `F:\data` and `F:\bkp` as top
|
|
123
|
+
level for filtering.
|
|
124
|
+
|
|
125
|
+
`rclone copy F:\data\ F:\bkp\ --exclude=/excl/**`
|
|
126
|
+
|
|
127
|
+
**Important** Use `/` in path/file name patterns and not `\` even if
|
|
128
|
+
running on Microsoft Windows.
|
|
129
|
+
|
|
130
|
+
Simple patterns are case sensitive unless the `--ignore-case` flag is used.
|
|
131
|
+
|
|
132
|
+
Without `--ignore-case` (default)
|
|
133
|
+
|
|
134
|
+
```text
|
|
135
|
+
potato - matches "potato"
|
|
136
|
+
- doesn't match "POTATO"
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
With `--ignore-case`
|
|
140
|
+
|
|
141
|
+
```text
|
|
142
|
+
potato - matches "potato"
|
|
143
|
+
- matches "POTATO"
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
## Using regular expressions in filter patterns {#regexp}
|
|
147
|
+
|
|
148
|
+
The syntax of filter patterns is glob style matching (like `bash`
|
|
149
|
+
uses) to make things easy for users. However this does not provide
|
|
150
|
+
absolute control over the matching, so for advanced users rclone also
|
|
151
|
+
provides a regular expression syntax.
|
|
152
|
+
|
|
153
|
+
Rclone generally accepts Perl-style regular expressions, the exact syntax
|
|
154
|
+
is defined in the [Go regular expression reference](https://golang.org/pkg/regexp/syntax/).
|
|
155
|
+
Regular expressions should be enclosed in `{{` `}}`. They will match only the
|
|
156
|
+
last path segment if the glob doesn't start with `/` or the whole path
|
|
157
|
+
name if it does. Note that rclone does not attempt to parse the
|
|
158
|
+
supplied regular expression, meaning that using any regular expression
|
|
159
|
+
filter will prevent rclone from using [directory filter rules](#directory_filter),
|
|
160
|
+
as it will instead check every path against
|
|
161
|
+
the supplied regular expression(s).
|
|
162
|
+
|
|
163
|
+
Here is how the `{{regexp}}` is transformed into an full regular
|
|
164
|
+
expression to match the entire path:
|
|
165
|
+
|
|
166
|
+
```text
|
|
167
|
+
{{regexp}} becomes (^|/)(regexp)$
|
|
168
|
+
/{{regexp}} becomes ^(regexp)$
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
Regexp syntax can be mixed with glob syntax, for example
|
|
172
|
+
|
|
173
|
+
```text
|
|
174
|
+
*.{{jpe?g}} to match file.jpg, file.jpeg but not file.png
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
You can also use regexp flags - to set case insensitive, for example
|
|
178
|
+
|
|
179
|
+
```text
|
|
180
|
+
*.{{(?i)jpg}} to match file.jpg, file.JPG but not file.png
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
Be careful with wildcards in regular expressions - you don't want them
|
|
184
|
+
to match path separators normally. To match any file name starting
|
|
185
|
+
with `start` and ending with `end` write
|
|
186
|
+
|
|
187
|
+
```text
|
|
188
|
+
{{start[^/]*end\.jpg}}
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
Not
|
|
192
|
+
|
|
193
|
+
```text
|
|
194
|
+
{{start.*end\.jpg}}
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
Which will match a directory called `start` with a file called
|
|
198
|
+
`end.jpg` in it as the `.*` will match `/` characters.
|
|
199
|
+
|
|
200
|
+
Note that you can use `-vv --dump filters` to show the filter patterns
|
|
201
|
+
in regexp format - rclone implements the glob patterns by transforming
|
|
202
|
+
them into regular expressions.
|
|
203
|
+
|
|
204
|
+
## Filter pattern examples {#examples}
|
|
205
|
+
|
|
206
|
+
| Description | Pattern | Matches | Does not match |
|
|
207
|
+
| ----------- |-------- | ------- | -------------- |
|
|
208
|
+
| Wildcard | `*.jpg` | `/file.jpg` | `/file.png` |
|
|
209
|
+
| | | `/dir/file.jpg` | `/dir/file.png` |
|
|
210
|
+
| Rooted | `/*.jpg` | `/file.jpg` | `/file.png` |
|
|
211
|
+
| | | `/file2.jpg` | `/dir/file.jpg` |
|
|
212
|
+
| Alternates | `*.{jpg,png}` | `/file.jpg` | `/file.gif` |
|
|
213
|
+
| | | `/dir/file.png` | `/dir/file.gif` |
|
|
214
|
+
| Path Wildcard | `dir/**` | `/dir/anyfile` | `file.png` |
|
|
215
|
+
| | | `/subdir/dir/subsubdir/anyfile` | `/subdir/file.png` |
|
|
216
|
+
| Any Char | `*.t?t` | `/file.txt` | `/file.qxt` |
|
|
217
|
+
| | | `/dir/file.tzt` | `/dir/file.png` |
|
|
218
|
+
| Range | `*.[a-z]` | `/file.a` | `/file.0` |
|
|
219
|
+
| | | `/dir/file.b` | `/dir/file.1` |
|
|
220
|
+
| Escape | `*.\?\?\?` | `/file.???` | `/file.abc` |
|
|
221
|
+
| | | `/dir/file.???` | `/dir/file.def` |
|
|
222
|
+
| Class | `*.\d\d\d` | `/file.012` | `/file.abc` |
|
|
223
|
+
| | | `/dir/file.345` | `/dir/file.def` |
|
|
224
|
+
| Regexp | `*.{{jpe?g}}` | `/file.jpeg` | `/file.png` |
|
|
225
|
+
| | | `/dir/file.jpg` | `/dir/file.jpeeg` |
|
|
226
|
+
| Rooted Regexp | `/{{.*\.jpe?g}}` | `/file.jpeg` | `/file.png` |
|
|
227
|
+
| | | `/file.jpg` | `/dir/file.jpg` |
|
|
228
|
+
|
|
229
|
+
## How filter rules are applied to files {#how-filter-rules-work}
|
|
230
|
+
|
|
231
|
+
Rclone path/file name filters are made up of one or more of the following flags:
|
|
232
|
+
|
|
233
|
+
- `--include`
|
|
234
|
+
- `--include-from`
|
|
235
|
+
- `--exclude`
|
|
236
|
+
- `--exclude-from`
|
|
237
|
+
- `--filter`
|
|
238
|
+
- `--filter-from`
|
|
239
|
+
|
|
240
|
+
There can be more than one instance of individual flags.
|
|
241
|
+
|
|
242
|
+
Rclone internally uses a combined list of all the include and exclude
|
|
243
|
+
rules. The order in which rules are processed can influence the result
|
|
244
|
+
of the filter.
|
|
245
|
+
|
|
246
|
+
All flags of the same type are processed together in the order
|
|
247
|
+
above, regardless of what order the different types of flags are
|
|
248
|
+
included on the command line.
|
|
249
|
+
|
|
250
|
+
Multiple instances of the same flag are processed from left
|
|
251
|
+
to right according to their position in the command line.
|
|
252
|
+
|
|
253
|
+
To mix up the order of processing includes and excludes use `--filter...`
|
|
254
|
+
flags.
|
|
255
|
+
|
|
256
|
+
Within `--include-from`, `--exclude-from` and `--filter-from` flags
|
|
257
|
+
rules are processed from top to bottom of the referenced file.
|
|
258
|
+
|
|
259
|
+
If there is an `--include` or `--include-from` flag specified, rclone
|
|
260
|
+
implies a `- **` rule which it adds to the bottom of the internal rule
|
|
261
|
+
list. Specifying a `+` rule with a `--filter...` flag does not imply
|
|
262
|
+
that rule.
|
|
263
|
+
|
|
264
|
+
Each path/file name passed through rclone is matched against the
|
|
265
|
+
combined filter list. At first match to a rule the path/file name
|
|
266
|
+
is included or excluded and no further filter rules are processed for
|
|
267
|
+
that path/file.
|
|
268
|
+
|
|
269
|
+
If rclone does not find a match, after testing against all rules
|
|
270
|
+
(including the implied rule if appropriate), the path/file name
|
|
271
|
+
is included.
|
|
272
|
+
|
|
273
|
+
Any path/file included at that stage is processed by the rclone
|
|
274
|
+
command.
|
|
275
|
+
|
|
276
|
+
`--files-from` and `--files-from-raw` flags over-ride and cannot be
|
|
277
|
+
combined with other filter options.
|
|
278
|
+
|
|
279
|
+
To see the internal combined rule list, in regular expression form,
|
|
280
|
+
for a command add the `--dump filters` flag. Running an rclone command
|
|
281
|
+
with `--dump filters` and `-vv` flags lists the internal filter elements
|
|
282
|
+
and shows how they are applied to each source path/file. There is not
|
|
283
|
+
currently a means provided to pass regular expression filter options into
|
|
284
|
+
rclone directly though character class filter rules contain character
|
|
285
|
+
classes. [Go regular expression reference](https://golang.org/pkg/regexp/syntax/)
|
|
286
|
+
|
|
287
|
+
### How filter rules are applied to directories {#directory_filter}
|
|
288
|
+
|
|
289
|
+
Rclone commands are applied to path/file names not
|
|
290
|
+
directories. The entire contents of a directory can be matched
|
|
291
|
+
to a filter by the pattern `directory/*` or recursively by
|
|
292
|
+
`directory/**`.
|
|
293
|
+
|
|
294
|
+
Directory filter rules are defined with a closing `/` separator.
|
|
295
|
+
|
|
296
|
+
E.g. `/directory/subdirectory/` is an rclone directory filter rule.
|
|
297
|
+
|
|
298
|
+
Rclone commands can use directory filter rules to determine whether they
|
|
299
|
+
recurse into subdirectories. This potentially optimises access to a remote
|
|
300
|
+
by avoiding listing unnecessary directories. Whether optimisation is
|
|
301
|
+
desirable depends on the specific filter rules and source remote content.
|
|
302
|
+
|
|
303
|
+
If any [regular expression filters](#regexp) are in use, then no
|
|
304
|
+
directory recursion optimisation is possible, as rclone must check
|
|
305
|
+
every path against the supplied regular expression(s).
|
|
306
|
+
|
|
307
|
+
Directory recursion optimisation occurs if either:
|
|
308
|
+
|
|
309
|
+
- A source remote does not support the rclone `ListR` primitive. local,
|
|
310
|
+
sftp, Microsoft OneDrive and WebDAV do not support `ListR`. Google
|
|
311
|
+
Drive and most bucket type storage do. [Full list](https://rclone.org/overview/#optional-features)
|
|
312
|
+
|
|
313
|
+
- On other remotes (those that support `ListR`), if the rclone command is not
|
|
314
|
+
naturally recursive, and provided it is not run with the `--fast-list` flag.
|
|
315
|
+
`ls`, `lsf -R` and `size` are naturally recursive but `sync`, `copy` and `move`
|
|
316
|
+
are not.
|
|
317
|
+
|
|
318
|
+
- Whenever the `--disable ListR` flag is applied to an rclone command.
|
|
319
|
+
|
|
320
|
+
Rclone commands imply directory filter rules from path/file filter
|
|
321
|
+
rules. To view the directory filter rules rclone has implied for a
|
|
322
|
+
command specify the `--dump filters` flag.
|
|
323
|
+
|
|
324
|
+
E.g. for an include rule
|
|
325
|
+
|
|
326
|
+
```text
|
|
327
|
+
/a/*.jpg
|
|
328
|
+
```
|
|
329
|
+
|
|
330
|
+
Rclone implies the directory include rule
|
|
331
|
+
|
|
332
|
+
```text
|
|
333
|
+
/a/
|
|
334
|
+
```
|
|
335
|
+
|
|
336
|
+
Directory filter rules specified in an rclone command can limit
|
|
337
|
+
the scope of an rclone command but path/file filters still have
|
|
338
|
+
to be specified.
|
|
339
|
+
|
|
340
|
+
E.g. `rclone ls remote: --include /directory/` will not match any
|
|
341
|
+
files. Because it is an `--include` option the `--exclude **` rule
|
|
342
|
+
is implied, and the `/directory/` pattern serves only to optimise
|
|
343
|
+
access to the remote by ignoring everything outside of that directory.
|
|
344
|
+
|
|
345
|
+
E.g. `rclone ls remote: --filter-from filter-list.txt` with a file
|
|
346
|
+
`filter-list.txt`:
|
|
347
|
+
|
|
348
|
+
```text
|
|
349
|
+
- /dir1/
|
|
350
|
+
- /dir2/
|
|
351
|
+
+ *.pdf
|
|
352
|
+
- **
|
|
353
|
+
```
|
|
354
|
+
|
|
355
|
+
All files in directories `dir1` or `dir2` or their subdirectories
|
|
356
|
+
are completely excluded from the listing. Only files of suffix
|
|
357
|
+
`pdf` in the root of `remote:` or its subdirectories are listed.
|
|
358
|
+
The `- **` rule prevents listing of any path/files not previously
|
|
359
|
+
matched by the rules above.
|
|
360
|
+
|
|
361
|
+
Option `exclude-if-present` creates a directory exclude rule based
|
|
362
|
+
on the presence of a file in a directory and takes precedence over
|
|
363
|
+
other rclone directory filter rules.
|
|
364
|
+
|
|
365
|
+
When using pattern list syntax, if a pattern item contains either
|
|
366
|
+
`/` or `**`, then rclone will not able to imply a directory filter rule
|
|
367
|
+
from this pattern list.
|
|
368
|
+
|
|
369
|
+
E.g. for an include rule
|
|
370
|
+
|
|
371
|
+
```text
|
|
372
|
+
{dir1/**,dir2/**}
|
|
373
|
+
```
|
|
374
|
+
|
|
375
|
+
Rclone will match files below directories `dir1` or `dir2` only,
|
|
376
|
+
but will not be able to use this filter to exclude a directory `dir3`
|
|
377
|
+
from being traversed.
|
|
378
|
+
|
|
379
|
+
Directory recursion optimisation may affect performance, but normally
|
|
380
|
+
not the result. One exception to this is sync operations with option
|
|
381
|
+
`--create-empty-src-dirs`, where any traversed empty directories will
|
|
382
|
+
be created. With the pattern list example `{dir1/**,dir2/**}` above,
|
|
383
|
+
this would create an empty directory `dir3` on destination (when it exists
|
|
384
|
+
on source). Changing the filter to `{dir1,dir2}/**`, or splitting it into
|
|
385
|
+
two include rules `--include dir1/** --include dir2/**`, will match the
|
|
386
|
+
same files while also filtering directories, with the result that an empty
|
|
387
|
+
directory `dir3` will no longer be created.
|
|
388
|
+
|
|
389
|
+
### `--exclude` - Exclude files matching pattern
|
|
390
|
+
|
|
391
|
+
Excludes path/file names from an rclone command based on a single exclude
|
|
392
|
+
rule.
|
|
393
|
+
|
|
394
|
+
This flag can be repeated. See above for the order filter flags are
|
|
395
|
+
processed in.
|
|
396
|
+
|
|
397
|
+
`--exclude` should not be used with `--include`, `--include-from`,
|
|
398
|
+
`--filter` or `--filter-from` flags.
|
|
399
|
+
|
|
400
|
+
`--exclude` has no effect when combined with `--files-from` or
|
|
401
|
+
`--files-from-raw` flags.
|
|
402
|
+
|
|
403
|
+
E.g. `rclone ls remote: --exclude *.bak` excludes all .bak files
|
|
404
|
+
from listing.
|
|
405
|
+
|
|
406
|
+
E.g. `rclone size remote: --exclude "/dir/**"` returns the total size of
|
|
407
|
+
all files on `remote:` excluding those in root directory `dir` and sub
|
|
408
|
+
directories.
|
|
409
|
+
|
|
410
|
+
E.g. on Microsoft Windows `rclone ls remote: --exclude "*\[{JP,KR,HK}\]*"`
|
|
411
|
+
lists the files in `remote:` without `[JP]` or `[KR]` or `[HK]` in
|
|
412
|
+
their name. Quotes prevent the shell from interpreting the `\`
|
|
413
|
+
characters.`\` characters escape the `[` and `]` so an rclone filter
|
|
414
|
+
treats them literally rather than as a character-range. The `{` and `}`
|
|
415
|
+
define an rclone pattern list. For other operating systems single quotes are
|
|
416
|
+
required ie `rclone ls remote: --exclude '*\[{JP,KR,HK}\]*'`
|
|
417
|
+
|
|
418
|
+
### `--exclude-from` - Read exclude patterns from file
|
|
419
|
+
|
|
420
|
+
Excludes path/file names from an rclone command based on rules in a
|
|
421
|
+
named file. The file contains a list of remarks and pattern rules.
|
|
422
|
+
|
|
423
|
+
For an example `exclude-file.txt`:
|
|
424
|
+
|
|
425
|
+
```text
|
|
426
|
+
# a sample exclude rule file
|
|
427
|
+
*.bak
|
|
428
|
+
file2.jpg
|
|
429
|
+
```
|
|
430
|
+
|
|
431
|
+
`rclone ls remote: --exclude-from exclude-file.txt` lists the files on
|
|
432
|
+
`remote:` except those named `file2.jpg` or with a suffix `.bak`. That is
|
|
433
|
+
equivalent to `rclone ls remote: --exclude file2.jpg --exclude "*.bak"`.
|
|
434
|
+
|
|
435
|
+
This flag can be repeated. See above for the order filter flags are
|
|
436
|
+
processed in.
|
|
437
|
+
|
|
438
|
+
The `--exclude-from` flag is useful where multiple exclude filter rules
|
|
439
|
+
are applied to an rclone command.
|
|
440
|
+
|
|
441
|
+
`--exclude-from` should not be used with `--include`, `--include-from`,
|
|
442
|
+
`--filter` or `--filter-from` flags.
|
|
443
|
+
|
|
444
|
+
`--exclude-from` has no effect when combined with `--files-from` or
|
|
445
|
+
`--files-from-raw` flags.
|
|
446
|
+
|
|
447
|
+
`--exclude-from` followed by `-` reads filter rules from standard input.
|
|
448
|
+
|
|
449
|
+
### `--include` - Include files matching pattern
|
|
450
|
+
|
|
451
|
+
Adds a single include rule based on path/file names to an rclone
|
|
452
|
+
command.
|
|
453
|
+
|
|
454
|
+
This flag can be repeated. See above for the order filter flags are
|
|
455
|
+
processed in.
|
|
456
|
+
|
|
457
|
+
`--include` has no effect when combined with `--files-from` or
|
|
458
|
+
`--files-from-raw` flags.
|
|
459
|
+
|
|
460
|
+
`--include` implies `--exclude **` at the end of an rclone internal
|
|
461
|
+
filter list. Therefore if you mix `--include` and `--include-from`
|
|
462
|
+
flags with `--exclude`, `--exclude-from`, `--filter` or `--filter-from`,
|
|
463
|
+
you must use include rules for all the files you want in the include
|
|
464
|
+
statement. For more flexibility use the `--filter-from` flag.
|
|
465
|
+
|
|
466
|
+
E.g. `rclone ls remote: --include "*.{png,jpg}"` lists the files on
|
|
467
|
+
`remote:` with suffix `.png` and `.jpg`. All other files are excluded.
|
|
468
|
+
|
|
469
|
+
E.g. multiple rclone copy commands can be combined with `--include` and a
|
|
470
|
+
pattern-list.
|
|
471
|
+
|
|
472
|
+
```console
|
|
473
|
+
rclone copy /vol1/A remote:A
|
|
474
|
+
rclone copy /vol1/B remote:B
|
|
475
|
+
```
|
|
476
|
+
|
|
477
|
+
is equivalent to:
|
|
478
|
+
|
|
479
|
+
```console
|
|
480
|
+
rclone copy /vol1 remote: --include "{A,B}/**"
|
|
481
|
+
```
|
|
482
|
+
|
|
483
|
+
E.g. `rclone ls remote:/wheat --include "??[^[:punct:]]*"` lists the
|
|
484
|
+
files `remote:` directory `wheat` (and subdirectories) whose third
|
|
485
|
+
character is not punctuation. This example uses
|
|
486
|
+
an [ASCII character class](https://golang.org/pkg/regexp/syntax/).
|
|
487
|
+
|
|
488
|
+
### `--include-from` - Read include patterns from file
|
|
489
|
+
|
|
490
|
+
Adds path/file names to an rclone command based on rules in a
|
|
491
|
+
named file. The file contains a list of remarks and pattern rules.
|
|
492
|
+
|
|
493
|
+
For an example `include-file.txt`:
|
|
494
|
+
|
|
495
|
+
```text
|
|
496
|
+
# a sample include rule file
|
|
497
|
+
*.jpg
|
|
498
|
+
file2.avi
|
|
499
|
+
```
|
|
500
|
+
|
|
501
|
+
`rclone ls remote: --include-from include-file.txt` lists the files on
|
|
502
|
+
`remote:` with name `file2.avi` or suffix `.jpg`. That is equivalent to
|
|
503
|
+
`rclone ls remote: --include file2.avi --include "*.jpg"`.
|
|
504
|
+
|
|
505
|
+
This flag can be repeated. See above for the order filter flags are
|
|
506
|
+
processed in.
|
|
507
|
+
|
|
508
|
+
The `--include-from` flag is useful where multiple include filter rules
|
|
509
|
+
are applied to an rclone command.
|
|
510
|
+
|
|
511
|
+
`--include-from` implies `--exclude **` at the end of an rclone internal
|
|
512
|
+
filter list. Therefore if you mix `--include` and `--include-from`
|
|
513
|
+
flags with `--exclude`, `--exclude-from`, `--filter` or `--filter-from`,
|
|
514
|
+
you must use include rules for all the files you want in the include
|
|
515
|
+
statement. For more flexibility use the `--filter-from` flag.
|
|
516
|
+
|
|
517
|
+
`--include-from` has no effect when combined with `--files-from` or
|
|
518
|
+
`--files-from-raw` flags.
|
|
519
|
+
|
|
520
|
+
`--include-from` followed by `-` reads filter rules from standard input.
|
|
521
|
+
|
|
522
|
+
### `--filter` - Add a file-filtering rule
|
|
523
|
+
|
|
524
|
+
Specifies path/file names to an rclone command, based on a single
|
|
525
|
+
include or exclude rule, in `+` or `-` format.
|
|
526
|
+
|
|
527
|
+
This flag can be repeated. See above for the order filter flags are
|
|
528
|
+
processed in.
|
|
529
|
+
|
|
530
|
+
`--filter +` differs from `--include`. In the case of `--include` rclone
|
|
531
|
+
implies an `--exclude *` rule which it adds to the bottom of the internal rule
|
|
532
|
+
list. `--filter...+` does not imply
|
|
533
|
+
that rule.
|
|
534
|
+
|
|
535
|
+
`--filter` has no effect when combined with `--files-from` or
|
|
536
|
+
`--files-from-raw` flags.
|
|
537
|
+
|
|
538
|
+
`--filter` should not be used with `--include`, `--include-from`,
|
|
539
|
+
`--exclude` or `--exclude-from` flags.
|
|
540
|
+
|
|
541
|
+
E.g. `rclone ls remote: --filter "- *.bak"` excludes all `.bak` files
|
|
542
|
+
from a list of `remote:`.
|
|
543
|
+
|
|
544
|
+
### `--filter-from` - Read filtering patterns from a file
|
|
545
|
+
|
|
546
|
+
Adds path/file names to an rclone command based on rules in a
|
|
547
|
+
named file. The file contains a list of remarks and pattern rules. Include
|
|
548
|
+
<!-- markdownlint-disable-next-line no-space-in-code -->
|
|
549
|
+
rules start with `+ ` and exclude rules with `- `. `!` clears existing
|
|
550
|
+
rules. Rules are processed in the order they are defined.
|
|
551
|
+
|
|
552
|
+
This flag can be repeated. See above for the order filter flags are
|
|
553
|
+
processed in.
|
|
554
|
+
|
|
555
|
+
Arrange the order of filter rules with the most restrictive first and
|
|
556
|
+
work down.
|
|
557
|
+
|
|
558
|
+
Lines starting with # or ; are ignored, and can be used to write comments.
|
|
559
|
+
Inline comments are not supported. *Use `-vv --dump filters` to see how they
|
|
560
|
+
appear in the final regexp.*
|
|
561
|
+
|
|
562
|
+
E.g. for `filter-file.txt`:
|
|
563
|
+
|
|
564
|
+
```text
|
|
565
|
+
# a sample filter rule file
|
|
566
|
+
- secret*.jpg
|
|
567
|
+
+ *.jpg
|
|
568
|
+
+ *.png
|
|
569
|
+
+ file2.avi
|
|
570
|
+
- /dir/tmp/** # WARNING! This text will be treated as part of the path.
|
|
571
|
+
- /dir/Trash/**
|
|
572
|
+
+ /dir/**
|
|
573
|
+
# exclude everything else
|
|
574
|
+
- *
|
|
575
|
+
```
|
|
576
|
+
|
|
577
|
+
`rclone ls remote: --filter-from filter-file.txt` lists the path/files on
|
|
578
|
+
`remote:` including all `jpg` and `png` files, excluding any
|
|
579
|
+
matching `secret*.jpg` and including `file2.avi`. It also includes
|
|
580
|
+
everything in the directory `dir` at the root of `remote`, except
|
|
581
|
+
`remote:dir/Trash` which it excludes. Everything else is excluded.
|
|
582
|
+
|
|
583
|
+
E.g. for an alternative `filter-file.txt`:
|
|
584
|
+
|
|
585
|
+
```text
|
|
586
|
+
- secret*.jpg
|
|
587
|
+
+ *.jpg
|
|
588
|
+
+ *.png
|
|
589
|
+
+ file2.avi
|
|
590
|
+
- *
|
|
591
|
+
```
|
|
592
|
+
|
|
593
|
+
Files `file1.jpg`, `file3.png` and `file2.avi` are listed whilst
|
|
594
|
+
`secret17.jpg` and files without the suffix `.jpg` or `.png` are excluded.
|
|
595
|
+
|
|
596
|
+
E.g. for an alternative `filter-file.txt`:
|
|
597
|
+
|
|
598
|
+
```text
|
|
599
|
+
+ *.jpg
|
|
600
|
+
+ *.gif
|
|
601
|
+
!
|
|
602
|
+
+ 42.doc
|
|
603
|
+
- *
|
|
604
|
+
```
|
|
605
|
+
|
|
606
|
+
Only file 42.doc is listed. Prior rules are cleared by the `!`.
|
|
607
|
+
|
|
608
|
+
### `--files-from` - Read list of source-file names
|
|
609
|
+
|
|
610
|
+
Adds path/files to an rclone command from a list in a named file.
|
|
611
|
+
Rclone processes the path/file names in the order of the list, and
|
|
612
|
+
no others.
|
|
613
|
+
|
|
614
|
+
Other filter flags (`--include`, `--include-from`, `--exclude`,
|
|
615
|
+
`--exclude-from`, `--filter` and `--filter-from`) are ignored when
|
|
616
|
+
`--files-from` is used.
|
|
617
|
+
|
|
618
|
+
`--files-from` expects a list of files as its input. Leading or
|
|
619
|
+
trailing whitespace is stripped from the input lines. Lines starting
|
|
620
|
+
with `#` or `;` are ignored.
|
|
621
|
+
|
|
622
|
+
`--files-from` followed by `-` reads the list of files from standard input.
|
|
623
|
+
|
|
624
|
+
Rclone commands with a `--files-from` flag traverse the remote,
|
|
625
|
+
treating the names in `--files-from` as a set of filters.
|
|
626
|
+
|
|
627
|
+
If the `--no-traverse` and `--files-from` flags are used together
|
|
628
|
+
an rclone command does not traverse the remote. Instead it addresses
|
|
629
|
+
each path/file named in the file individually. For each path/file name, that
|
|
630
|
+
requires typically 1 API call. This can be efficient for a short `--files-from`
|
|
631
|
+
list and a remote containing many files.
|
|
632
|
+
|
|
633
|
+
Rclone commands do not error if any names in the `--files-from` file are
|
|
634
|
+
missing from the source remote.
|
|
635
|
+
|
|
636
|
+
The `--files-from` flag can be repeated in a single rclone command to
|
|
637
|
+
read path/file names from more than one file. The files are read from left
|
|
638
|
+
to right along the command line.
|
|
639
|
+
|
|
640
|
+
Paths within the `--files-from` file are interpreted as starting
|
|
641
|
+
with the root specified in the rclone command. Leading `/` separators are
|
|
642
|
+
ignored. See [--files-from-raw](#files-from-raw-read-list-of-source-file-names-without-any-processing)
|
|
643
|
+
if you need the input to be processed in a raw manner.
|
|
644
|
+
|
|
645
|
+
E.g. for a file `files-from.txt`:
|
|
646
|
+
|
|
647
|
+
```text
|
|
648
|
+
# comment
|
|
649
|
+
file1.jpg
|
|
650
|
+
subdir/file2.jpg
|
|
651
|
+
```
|
|
652
|
+
|
|
653
|
+
`rclone copy --files-from files-from.txt /home/me/pics remote:pics`
|
|
654
|
+
copies the following, if they exist, and only those files.
|
|
655
|
+
|
|
656
|
+
```text
|
|
657
|
+
/home/me/pics/file1.jpg → remote:pics/file1.jpg
|
|
658
|
+
/home/me/pics/subdir/file2.jpg → remote:pics/subdir/file2.jpg
|
|
659
|
+
```
|
|
660
|
+
|
|
661
|
+
E.g. to copy the following files referenced by their absolute paths:
|
|
662
|
+
|
|
663
|
+
```text
|
|
664
|
+
/home/user1/42
|
|
665
|
+
/home/user1/dir/ford
|
|
666
|
+
/home/user2/prefect
|
|
667
|
+
```
|
|
668
|
+
|
|
669
|
+
First find a common subdirectory - in this case `/home`
|
|
670
|
+
and put the remaining files in `files-from.txt` with or without
|
|
671
|
+
leading `/`, e.g.
|
|
672
|
+
|
|
673
|
+
```text
|
|
674
|
+
user1/42
|
|
675
|
+
user1/dir/ford
|
|
676
|
+
user2/prefect
|
|
677
|
+
```
|
|
678
|
+
|
|
679
|
+
Then copy these to a remote:
|
|
680
|
+
|
|
681
|
+
```console
|
|
682
|
+
rclone copy --files-from files-from.txt /home remote:backup
|
|
683
|
+
```
|
|
684
|
+
|
|
685
|
+
The three files are transferred as follows:
|
|
686
|
+
|
|
687
|
+
```text
|
|
688
|
+
/home/user1/42 → remote:backup/user1/important
|
|
689
|
+
/home/user1/dir/ford → remote:backup/user1/dir/file
|
|
690
|
+
/home/user2/prefect → remote:backup/user2/stuff
|
|
691
|
+
```
|
|
692
|
+
|
|
693
|
+
Alternatively if `/` is chosen as root `files-from.txt` will be:
|
|
694
|
+
|
|
695
|
+
```text
|
|
696
|
+
/home/user1/42
|
|
697
|
+
/home/user1/dir/ford
|
|
698
|
+
/home/user2/prefect
|
|
699
|
+
```
|
|
700
|
+
|
|
701
|
+
The copy command will be:
|
|
702
|
+
|
|
703
|
+
```console
|
|
704
|
+
rclone copy --files-from files-from.txt / remote:backup
|
|
705
|
+
```
|
|
706
|
+
|
|
707
|
+
Then there will be an extra `home` directory on the remote:
|
|
708
|
+
|
|
709
|
+
```text
|
|
710
|
+
/home/user1/42 → remote:backup/home/user1/42
|
|
711
|
+
/home/user1/dir/ford → remote:backup/home/user1/dir/ford
|
|
712
|
+
/home/user2/prefect → remote:backup/home/user2/prefect
|
|
713
|
+
```
|
|
714
|
+
|
|
715
|
+
### `--files-from-raw` - Read list of source-file names without any processing
|
|
716
|
+
|
|
717
|
+
This flag is the same as `--files-from` except that input is read in a
|
|
718
|
+
raw manner. Lines with leading / trailing whitespace, and lines starting
|
|
719
|
+
with `;` or `#` are read without any processing. [rclone lsf](/commands/rclone_lsf/)
|
|
720
|
+
has a compatible format that can be used to export file lists from remotes for
|
|
721
|
+
input to `--files-from-raw`.
|
|
722
|
+
|
|
723
|
+
### `--ignore-case` - make searches case insensitive
|
|
724
|
+
|
|
725
|
+
By default, rclone filter patterns are case sensitive. The `--ignore-case`
|
|
726
|
+
flag makes all of the filters patterns on the command line case
|
|
727
|
+
insensitive.
|
|
728
|
+
|
|
729
|
+
E.g. `--include "zaphod.txt"` does not match a file `Zaphod.txt`. With
|
|
730
|
+
`--ignore-case` a match is made.
|
|
731
|
+
|
|
732
|
+
## Quoting shell metacharacters
|
|
733
|
+
|
|
734
|
+
Rclone commands with filter patterns containing shell metacharacters may
|
|
735
|
+
not as work as expected in your shell and may require quoting.
|
|
736
|
+
|
|
737
|
+
E.g. linux, OSX (`*` metacharacter)
|
|
738
|
+
|
|
739
|
+
- `--include \*.jpg`
|
|
740
|
+
- `--include '*.jpg'`
|
|
741
|
+
- `--include='*.jpg'`
|
|
742
|
+
|
|
743
|
+
Microsoft Windows expansion is done by the command, not shell, so
|
|
744
|
+
`--include *.jpg` does not require quoting.
|
|
745
|
+
|
|
746
|
+
If the rclone error
|
|
747
|
+
`Command .... needs .... arguments maximum: you provided .... non flag arguments:`
|
|
748
|
+
is encountered, the cause is commonly spaces within the name of a
|
|
749
|
+
remote or flag value. The fix then is to quote values containing spaces.
|
|
750
|
+
|
|
751
|
+
## Other filters
|
|
752
|
+
|
|
753
|
+
### `--min-size` - Don't transfer any file smaller than this
|
|
754
|
+
|
|
755
|
+
Controls the minimum size file within the scope of an rclone command.
|
|
756
|
+
Default units are `KiB` but abbreviations `B`, `K`, `M`, `G`, `T` or `P` are valid.
|
|
757
|
+
|
|
758
|
+
E.g. `rclone ls remote: --min-size 50k` lists files on `remote:` of 50 KiB
|
|
759
|
+
size or larger.
|
|
760
|
+
|
|
761
|
+
See [the size option docs](/docs/#size-options) for more info.
|
|
762
|
+
|
|
763
|
+
### `--max-size` - Don't transfer any file larger than this
|
|
764
|
+
|
|
765
|
+
Controls the maximum size file within the scope of an rclone command.
|
|
766
|
+
Default units are `KiB` but abbreviations `B`, `K`, `M`, `G`, `T` or `P` are valid.
|
|
767
|
+
|
|
768
|
+
E.g. `rclone ls remote: --max-size 1G` lists files on `remote:` of 1 GiB
|
|
769
|
+
size or smaller.
|
|
770
|
+
|
|
771
|
+
See [the size option docs](/docs/#size-options) for more info.
|
|
772
|
+
|
|
773
|
+
### `--max-age` - Don't transfer any file older than this
|
|
774
|
+
|
|
775
|
+
Controls the maximum age of files within the scope of an rclone command.
|
|
776
|
+
|
|
777
|
+
`--max-age` applies only to files and not to directories.
|
|
778
|
+
|
|
779
|
+
E.g. `rclone ls remote: --max-age 2d` lists files on `remote:` of 2 days
|
|
780
|
+
old or less.
|
|
781
|
+
|
|
782
|
+
See [the time option docs](/docs/#time-options) for valid formats.
|
|
783
|
+
|
|
784
|
+
### `--min-age` - Don't transfer any file younger than this
|
|
785
|
+
|
|
786
|
+
Controls the minimum age of files within the scope of an rclone command.
|
|
787
|
+
(see `--max-age` for valid formats)
|
|
788
|
+
|
|
789
|
+
`--min-age` applies only to files and not to directories.
|
|
790
|
+
|
|
791
|
+
E.g. `rclone ls remote: --min-age 2d` lists files on `remote:` of 2 days
|
|
792
|
+
old or more.
|
|
793
|
+
|
|
794
|
+
See [the time option docs](/docs/#time-options) for valid formats.
|
|
795
|
+
|
|
796
|
+
### `--hash-filter` - Deterministically select a subset of files {#hash-filter}
|
|
797
|
+
|
|
798
|
+
The `--hash-filter` flag enables selecting a deterministic subset of files,
|
|
799
|
+
useful for:
|
|
800
|
+
|
|
801
|
+
1. Running large sync operations across multiple machines.
|
|
802
|
+
2. Checking a subset of files for bitrot.
|
|
803
|
+
3. Any other operations where a sample of files is required.
|
|
804
|
+
|
|
805
|
+
#### Syntax
|
|
806
|
+
|
|
807
|
+
The flag takes two parameters expressed as a fraction:
|
|
808
|
+
|
|
809
|
+
```text
|
|
810
|
+
--hash-filter K/N
|
|
811
|
+
```
|
|
812
|
+
|
|
813
|
+
- `N`: The total number of partitions (must be a positive integer).
|
|
814
|
+
- `K`: The specific partition to select (an integer from `0` to `N`).
|
|
815
|
+
|
|
816
|
+
For example:
|
|
817
|
+
|
|
818
|
+
- `--hash-filter 1/3`: Selects the first third of the files.
|
|
819
|
+
- `--hash-filter 2/3` and `--hash-filter 3/3`: Select the second and third
|
|
820
|
+
partitions, respectively.
|
|
821
|
+
|
|
822
|
+
Each partition is non-overlapping, ensuring all files are covered without duplication.
|
|
823
|
+
|
|
824
|
+
#### Random Partition Selection
|
|
825
|
+
|
|
826
|
+
Use `@` as `K` to randomly select a partition:
|
|
827
|
+
|
|
828
|
+
```text
|
|
829
|
+
--hash-filter @/M
|
|
830
|
+
```
|
|
831
|
+
|
|
832
|
+
For example, `--hash-filter @/3` will randomly select a number between 0 and 2.
|
|
833
|
+
This will stay constant across retries.
|
|
834
|
+
|
|
835
|
+
#### How It Works
|
|
836
|
+
|
|
837
|
+
- Rclone takes each file's full path, normalizes it to lowercase, and applies
|
|
838
|
+
Unicode normalization.
|
|
839
|
+
- It then hashes the normalized path into a 64 bit number.
|
|
840
|
+
- The hash result is reduced modulo `N` to assign the file to a partition.
|
|
841
|
+
- If the calculated partition does not match `K` the file is excluded.
|
|
842
|
+
- Other filters may apply if the file is not excluded.
|
|
843
|
+
|
|
844
|
+
**Important:** Rclone will traverse all directories to apply the filter.
|
|
845
|
+
|
|
846
|
+
#### Usage Notes
|
|
847
|
+
|
|
848
|
+
- Safe to use with `rclone sync`; source and destination selections will match.
|
|
849
|
+
- **Do not** use with `--delete-excluded`, as this could delete unselected files.
|
|
850
|
+
- Ignored if `--files-from` is used.
|
|
851
|
+
|
|
852
|
+
#### Examples
|
|
853
|
+
|
|
854
|
+
##### Dividing files into 4 partitions
|
|
855
|
+
|
|
856
|
+
Assuming the current directory contains `file1.jpg` through `file9.jpg`:
|
|
857
|
+
|
|
858
|
+
```console
|
|
859
|
+
$ rclone lsf --hash-filter 0/4 .
|
|
860
|
+
file1.jpg
|
|
861
|
+
file5.jpg
|
|
862
|
+
|
|
863
|
+
$ rclone lsf --hash-filter 1/4 .
|
|
864
|
+
file3.jpg
|
|
865
|
+
file6.jpg
|
|
866
|
+
file9.jpg
|
|
867
|
+
|
|
868
|
+
$ rclone lsf --hash-filter 2/4 .
|
|
869
|
+
file2.jpg
|
|
870
|
+
file4.jpg
|
|
871
|
+
|
|
872
|
+
$ rclone lsf --hash-filter 3/4 .
|
|
873
|
+
file7.jpg
|
|
874
|
+
file8.jpg
|
|
875
|
+
|
|
876
|
+
$ rclone lsf --hash-filter 4/4 . # the same as --hash-filter 0/4
|
|
877
|
+
file1.jpg
|
|
878
|
+
file5.jpg
|
|
879
|
+
```
|
|
880
|
+
|
|
881
|
+
##### Syncing the first quarter of files
|
|
882
|
+
|
|
883
|
+
```console
|
|
884
|
+
rclone sync --hash-filter 1/4 source:path destination:path
|
|
885
|
+
```
|
|
886
|
+
|
|
887
|
+
##### Checking a random 1% of files for integrity
|
|
888
|
+
|
|
889
|
+
```console
|
|
890
|
+
rclone check --download --hash-filter @/100 source:path destination:path
|
|
891
|
+
```
|
|
892
|
+
|
|
893
|
+
## Other flags
|
|
894
|
+
|
|
895
|
+
### `--delete-excluded` - Delete files on dest excluded from sync
|
|
896
|
+
|
|
897
|
+
**Important** this flag is dangerous to your data - use with `--dry-run`
|
|
898
|
+
and `-v` first.
|
|
899
|
+
|
|
900
|
+
In conjunction with `rclone sync`, `--delete-excluded` deletes any files
|
|
901
|
+
on the destination which are excluded from the command.
|
|
902
|
+
|
|
903
|
+
E.g. the scope of `rclone sync --interactive A: B:` can be restricted:
|
|
904
|
+
|
|
905
|
+
```console
|
|
906
|
+
rclone --min-size 50k --delete-excluded sync A: B:
|
|
907
|
+
```
|
|
908
|
+
|
|
909
|
+
All files on `B:` which are less than 50 KiB are deleted
|
|
910
|
+
because they are excluded from the rclone sync command.
|
|
911
|
+
|
|
912
|
+
### `--dump filters` - dump the filters to the output
|
|
913
|
+
|
|
914
|
+
Dumps the defined filters to standard output in regular expression
|
|
915
|
+
format.
|
|
916
|
+
|
|
917
|
+
Useful for debugging.
|
|
918
|
+
|
|
919
|
+
## Exclude directory based on a file
|
|
920
|
+
|
|
921
|
+
The `--exclude-if-present` flag controls whether a directory is
|
|
922
|
+
within the scope of an rclone command based on the presence of a
|
|
923
|
+
named file within it. The flag can be repeated to check for
|
|
924
|
+
multiple file names, presence of any of them will exclude the
|
|
925
|
+
directory.
|
|
926
|
+
|
|
927
|
+
This flag has a priority over other filter flags.
|
|
928
|
+
|
|
929
|
+
E.g. for the following directory structure:
|
|
930
|
+
|
|
931
|
+
```text
|
|
932
|
+
dir1/file1
|
|
933
|
+
dir1/dir2/file2
|
|
934
|
+
dir1/dir2/dir3/file3
|
|
935
|
+
dir1/dir2/dir3/.ignore
|
|
936
|
+
```
|
|
937
|
+
|
|
938
|
+
The command `rclone ls --exclude-if-present .ignore dir1` does
|
|
939
|
+
not list `dir3`, `file3` or `.ignore`.
|
|
940
|
+
|
|
941
|
+
## Metadata filters {#metadata}
|
|
942
|
+
|
|
943
|
+
The metadata filters work in a very similar way to the normal file
|
|
944
|
+
name filters, except they match [metadata](/docs/#metadata) on the
|
|
945
|
+
object.
|
|
946
|
+
|
|
947
|
+
The metadata should be specified as `key=value` patterns. This may be
|
|
948
|
+
wildcarded using the normal [filter patterns](#patterns) or [regular
|
|
949
|
+
expressions](#regexp).
|
|
950
|
+
|
|
951
|
+
For example if you wished to list only local files with a mode of
|
|
952
|
+
`100664` you could do that with:
|
|
953
|
+
|
|
954
|
+
```console
|
|
955
|
+
rclone lsf -M --files-only --metadata-include "mode=100664" .
|
|
956
|
+
```
|
|
957
|
+
|
|
958
|
+
Or if you wished to show files with an `atime`, `mtime` or `btime` at a given date:
|
|
959
|
+
|
|
960
|
+
```console
|
|
961
|
+
rclone lsf -M --files-only --metadata-include "[abm]time=2022-12-16*" .
|
|
962
|
+
```
|
|
963
|
+
|
|
964
|
+
Like file filtering, metadata filtering only applies to files not to
|
|
965
|
+
directories.
|
|
966
|
+
|
|
967
|
+
The filters can be applied using these flags.
|
|
968
|
+
|
|
969
|
+
- `--metadata-include` - Include metadatas matching pattern
|
|
970
|
+
- `--metadata-include-from` - Read metadata include patterns from file
|
|
971
|
+
(use - to read from stdin)
|
|
972
|
+
- `--metadata-exclude` - Exclude metadatas matching pattern
|
|
973
|
+
- `--metadata-exclude-from` - Read metadata exclude patterns from file
|
|
974
|
+
(use - to read from stdin)
|
|
975
|
+
- `--metadata-filter` - Add a metadata filtering rule
|
|
976
|
+
- `--metadata-filter-from` - Read metadata filtering patterns from a file
|
|
977
|
+
(use - to read from stdin)
|
|
978
|
+
|
|
979
|
+
Each flag can be repeated. See the section on [how filter rules are
|
|
980
|
+
applied](#how-filter-rules-work) for more details - these flags work
|
|
981
|
+
in an identical way to the file name filtering flags, but instead of
|
|
982
|
+
file name patterns have metadata patterns.
|
|
983
|
+
|
|
984
|
+
## Common pitfalls
|
|
985
|
+
|
|
986
|
+
The most frequent filter support issues on
|
|
987
|
+
the [rclone forum](https://forum.rclone.org/) are:
|
|
988
|
+
|
|
989
|
+
- Not using paths relative to the root of the remote
|
|
990
|
+
- Not using `/` to match from the root of a remote
|
|
991
|
+
- Not using `**` to match the contents of a directory
|