tarka / xcp

An extended `cp`
GNU General Public License v3.0
746 stars 24 forks source link

[feature request] option to respect .gitignore #32

Closed lengyijun closed 1 year ago

tarka commented 1 year ago

Already exists, or did you mean something else?

xcp 0.9.3
Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY.

USAGE:
    xcp [FLAGS] [OPTIONS] <paths>...

FLAGS:
        --gitignore              Use .gitignore if present. NOTE: This is fairly basic at the moment, and only honours a
                                 .gitignore in the directory root for directory copies; global or sub-directory ignores
                                 are skipped