fpsync command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
fpsync: command not found
or when using sudo you get the following error message
sudo: fpsync: command not found
Solutions to fpsync: command not found
How To Fix fpsync: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu fpsync is provided by fpart package.
fpart is:
Fpart is a tool that helps you sort file trees and pack them into bags (called “partitions”). It is developed in C and available under the BSD license.
It splits a list of directories and file trees into a certain number of partitions, trying to produce partitions with the same size and number of files. It can also produce partitions with a given number of files or a limited size. Once generated, partitions are either printed as file lists to stdout (default) or to files. Those lists can then be used by third party programs.
Fpart also includes a live mode, which allows it to crawl very large filesystems and produce partitions in live. Hooks are available to act on those partitions (e.g. immediately start a transfer using rsync(1), cpio(1) or tar(1)) without having to wait for the filesystem traversal job to be finished. Used this way, fpart can be seen as a powerful data migration tool.
To fix this problem, we can install more using the command below.
sudo apt-get -y install fpart
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install fpart.
sudo apt -y install fpart
Or if you have aptitude installed you can use the following command.
sudo aptitude install fpart
Summary
In this tutorial we learn how to fix fpsync command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.