Skip to content

Copying all and only .scad files #1

@Irev-Dev

Description

@Irev-Dev

I've was playing around a little found that the following command
rsync -a --prune-empty-dirs --include '*/' --include '*.scad' --exclude '*' ./ ./target
Works nicely for keeping the data structure of this repo but removing everything apart from .scad files
Goes from being about 300MB to 22MB, I could look into setting up a github action that does the same thing and puts them into a release, and that way the CadHub-OpenSCAD could download the latest release when it's building?

Stole it from: https://unix.stackexchange.com/questions/83593/copy-specific-file-type-keeping-the-folder-structure/83596#

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions