New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

copasty

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

copasty

A simple command line tool that allows user to copy the contents of a file to clipboard and paste it to the desired file using a single command

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

Copasty

A cli tool built on node.js that allows the user to copy the contents of a file to clipboard and paste it to the desired file from clipboard using a single command.

npm npm Codacy Badge

  • cross platform
  • works on mac,windows and linux
  • works with Command Prompt

Why copasty??

Suppose you want to copy the contents of the file and paste it to another file. The process to do the following will be like this (especially in windows)

  • Navigate to the file
  • Open it
  • ctrl + a
  • ctrl + c
  • Navigate to the file you want to paste the content in.
  • Open it
  • ctrl + v

Copasty way of handling it

  • copasty copy 'path-to-file'
  • copasty paste 'path-of-file'

Installation

Windows

npm i -g copasty

Linux

sudo npm i -g copasty

How to use?

Copy the content to the clipboard of a file using

copasty copy 'path-to-the-file'

Paste the content of the clipboard to a file using

copasty paste 'path-to-the-file'

For checking the version

copasty -V

For help

copasty --help

Keywords

javascript

FAQs

Package last updated on 01 Aug 2018

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