AptLynx

Command-line tool

replace

npm/replace

Checked 25 Oct 2026, 21:11 UTC · Still published on npm

Command line search and replace utility sed grep search replace

At a glance

Type
Command-line tool
Install on
Windows, macOS, Linux
Last checked
25 Oct 2026, 21:11 UTC

Install it

Windows

npm install -g replace

macOS

npm install -g replace

Linux

npm install -g replace

Replace the destination file with the one from the source directory

replace path\to\file_or_directory path\to\destination_directory

Add files to the destination directory instead of replacing existing files

replace path\to\file_or_directory path\to\destination_directory /a

Interactively copy multiple files, with a prompt before replacing or adding a destination file

replace path\to\file_or_directory path\to\destination_directory /p

Related command-line tools

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents