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

copyfiles

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

copyfiles

copy some files

  • 2.4.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.3M
decreased by-4.06%
Maintainers
1
Weekly downloads
 
Created

What is copyfiles?

The copyfiles npm package is a tool designed for copying files from one location to another within a file system. It is particularly useful in build processes and scripts where you need to move files around in a cross-platform compatible way. It supports features like glob patterns for file selection, creating directories as needed, and specifying the depth of directories to copy.

What are copyfiles's main functionalities?

Basic file copying

This command copies all .txt files from 'path/to/source' to 'path/to/destination', flattening the directory structure by one level.

copyfiles -u 1 path/to/source/*.txt path/to/destination

Copying with directory structure

Copies all .html files from 'path/to/source' to 'path/to/destination', preserving the directory structure.

copyfiles path/to/source/**/*.html path/to/destination

Verbose output

Copies all .css files from 'path/to/source' to 'path/to/destination' with verbose output, showing the files as they are copied.

copyfiles -v path/to/source/*.css path/to/destination

Other packages similar to copyfiles

FAQs

Package last updated on 27 Nov 2020

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