#gitignore #ignore #another #copy #directory #copies #listed

app gicopy

Copies a directory to another location, ignoring files listed in .gitignore files

2 releases

0.1.1 May 29, 2023
0.1.0 May 28, 2023

#11 in #copies

MIT license

6KB
81 lines

Git Ignore Copy (gicopy)

Usage

Usage: gicopy.exe [OPTIONS] <SOURCE> <TARGET>

Arguments:
  <SOURCE>  The path of the directory to copy from
  <TARGET>  The path of the directory to copy to

Options:
  -v, --verbose                        Be verbose
  -i, --ignore-file <IGNORE_FILE>      The name of the file with the list of files to ignore [default: .gitignore]
  -o, --other-ignored <OTHER_IGNORED>  Other files to ignore [default: .git]
  -h, --help                           Print help

Installation

Building from soure and installing using cargo

cargo install gicopy

Dependencies

~4–6MB
~104K SLoC