dirconv command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
dirconv: command not found
or when using sudo you get the following error message
sudo: dirconv: command not found
Solutions to dirconv: command not found
How To Fix dirconv: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu dirconv is provided by conv-tools package.
conv-tools is:
The mixconv utility reads a mixed-encoding text file, analyzes each line to determine whether it is in 7-bit ASCII, an 8-bit encoding, UTF-8 or WTF-8, converts everything to UTF-8 and prints the result to standard output.
The dirconv utility scans a directory structure, analyzes each file and directory name to determine whether it is in 7-bit ASCII, an 8-bit encoding, UTF-8 or WTF-8, converts everything to UTF-8, and renames the files and directories accordingly.
To fix this problem, we can install more using the command below.
sudo apt-get -y install conv-tools
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install conv-tools.
sudo apt -y install conv-tools
Or if you have aptitude installed you can use the following command.
sudo aptitude install conv-tools
Summary
In this tutorial we learn how to fix dirconv command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.