#glob-pattern #pattern #glob #copy #cli

app glopy

A cross-platform tool to copy files using glob patterns

3 releases (breaking)

0.3.0 Dec 31, 2022
0.2.0 Dec 30, 2022
0.1.0 Dec 29, 2022

#35 in #glob

MIT license

9KB
194 lines

Glopy

CLI tool to copy files using glob pattern.

Have you ever wanted to copy all images (or .pdf, or .h) files in deeply nested subfolders to another folder, disregarding all folder structure? Then this is a tool for you.

Install

Using cargo

cargo install glopy

Or download pre-built executable from release

Example

Copy all pdf files in ./documents to ./pdfs folder

glopy --source ./documents --dest ./pdfs **/*.pdf

Run glopy -h to see all options.

Dependencies

~6–15MB
~186K SLoC