#gitignore #copy #directory #copies #another #listed #location

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

#4 in #listed

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
~102K SLoC