Skip to content
/ cpi-rs Public

A cli for copying files with ignore-files applied

Notifications You must be signed in to change notification settings

XHMM/cpi-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cpi

Crates.io

A command-line tool for copying files without ignored files.

Currently supported ignore-file config is .gitignore.

Install

cargo install cpi

Usage

cpi ./project ./project-copy

# disable .gitignore
cpi ./project ./project-copy --no-gitignore

# output as a zip file
cpi ./project ./project-copy.zip

# -f/--force will remove "project-copy" if already existed before copying
cpi ./project ./project-copy -f

To-Do

  • support passing ignore folder in cli

About

A cli for copying files with ignore-files applied

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages