Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cpy-cli

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cpy-cli

Copy files

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
233K
decreased by-10.82%
Maintainers
1
Weekly downloads
 
Created

What is cpy-cli?

The cpy-cli npm package is a command-line interface for the cpy module, which is used to copy files and directories with various options. It is designed to be simple and efficient, making it easy to copy files from one location to another with additional features like glob patterns, renaming, and more.

What are cpy-cli's main functionalities?

Basic File Copy

This command copies the file 'source.txt' to the 'destination' directory.

cpy 'source.txt' 'destination/'

Copy Multiple Files

This command copies all .txt files from the 'src' directory to the 'dist' directory using glob patterns.

cpy 'src/*.txt' 'dist/'

Rename Files While Copying

This command copies 'source.txt' to the 'destination' directory and renames it to 'renamed.txt'.

cpy 'source.txt' 'destination/renamed.txt'

Copy Files Recursively

This command copies all files and directories from 'src' to 'dist' recursively.

cpy 'src/**/*' 'dist/'

Preserve Timestamps

This command copies 'source.txt' to the 'destination' directory and preserves the original file timestamps.

cpy 'source.txt' 'destination/' --preserve-timestamps

Other packages similar to cpy-cli

Keywords

FAQs

Package last updated on 03 Jan 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc