qcp command not found

In this troubleshooting guide we learn how to fix qcp command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

qcp: command not found

or when using sudo you get the following error message

sudo: qcp: command not found

Solutions to qcp: command not found

How To Fix qcp: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu qcp is provided by renameutils package.

renameutils is:

The file renaming utilities (renameutils for short) are a set of programs designed to make renaming of files faster and less cumbersome.

This package consists of five programs - qmv, imv, icp, qcp and deurlname:

qmv (“quick move”) allows file names to be edited in a text editor. The names of all files in a directory are written to a text file, which is then edited by the user. The text file is read and parsed, and the changes are applied to the files.

imv (“interactive move”), is trivial but useful when you are too lazy to type (or even complete) the name of the file to rename twice. It allows a file name to be edited in the terminal using the GNU Readline library.

icp and qcp are similar to imv and qmv but for copying using “cp”.

deurlname removes URL encoded characters (such as %20 representing space) from file names. Some programs such as w3m tend to keep those characters encoded in saved files.

To fix this problem, we can install more using the command below.

sudo apt-get -y install renameutils

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install renameutils.

sudo apt -y install renameutils

Or if you have aptitude installed you can use the following command.

sudo aptitude install renameutils

Summary

In this tutorial we learn how to fix qcp command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.