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

grunt-copy-different

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-copy-different

A grunt task for compaaring file content and copying diff files into a target directory

latest
npmnpm
Version
0.0.4
Version published
Maintainers
1
Created
Source

grunt-copy-different

license node

A grunt task for compaaring file content and copying diff files into a target directory

Install

npm install grunt-copy-different --save

Config


grunt-copy-different: {
	default: {
		files: [
			{src:"html/build/*"}
		],
		compareWith: "html/buildTemp/",
		destination: "html/buildIncrement/"
	}
}

function

The Tasks searches for every file in the files array and checks if it finds the same filename in the compareWith directory. Then it hashes the file content of both files (md5) and copies every different file into the destination dir.s

FAQs

Package last updated on 27 Dec 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