mtp-folders: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/mtp-folders - from package: libmtp-examples

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/mtp-folders - from package: mtp-tools

You may install the required package with command apt-get install {package}
Error in other languages:
mtp-folders: bevel nie gevind nie
mtp-folders: comandă negăsită
mtp-folders: comando não encontrado
mtp-folders: commande introuvable
mtp-folders: command not found
mtp-folders: käsku ei ole
mtp-folders: không tìm thấy lệnh
mtp-folders: komanda nerasta
mtp-folders: Kommando nicht gefunden.
mtp-folders: kommandot finns inte
mtp-folders: komut yok
mtp-folders: nie znaleziono polecenia
mtp-folders: níor aimsíodh an t-ordú
mtp-folders: no se encontró la orden
mtp-folders: no s'ha trobat l'ordre
mtp-folders: opdracht niet gevonden
mtp-folders: parancs nem található
mtp-folders: perintah tidak ditemukan
mtp-folders: príkaz nenájdený
mtp-folders: příkaz nenalezen
mtp-folders: команда не найдена
mtp-folders: командата не е открита
mtp-folders: 命令找不到
mtp-folders: コマンドが見つかりません