Hi,, I have this problem. I have a command: find -type f -depth -maxdepth 1 -execdir bash -c ' conv_name=$(printf %s "$1" | iconv -f utf8 -t latin1 | iconv -f cp1251); mv -v -- "$1" "$conv_name" ' -- {} ';'
(it is for the conversion of cyrillic filenames) and I want to add it in the user menu of midnight commander. It should apply on all files in the open directory. Any ideas on how to do this? I tried to add this to the user menu, it shows up when F2 pressed, but it does not work, it asks for parameters: + ! t t z Cyrillic convert CMD=%{find -type f -depth -execdir bash -c ' conv_name=$(printf %s "$1" | iconv -f utf8 -t latin1 | iconv -f cp1251); mv -v -- "$1" "$conv_name" ' -- {} ';'Enter command} $CMD %t