Hello, I have this problem with the user menu. I wan to add this 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" ' -- {} ';' So I editted the user menu directly in mc. I copied/pasted: + t t @ Do something on the tagged files set %t; CMD=%{Enter command} while [ -n "$1" ]; do $CMD "$1" shift done and editted this copy to: + t t W CyrillicConvert set %t; CMD=%{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" ' -- {} ';'} while [ -n "$1" ]; do $CMD "$1" shift done On the command line this command does works well, but when I invoke it with F2 withe the files tagged I am asked for Parameters and nothing happens. I found very few examples on user menu with Google. Hope someone can help me out! _______________________________________________ mc mailing list https://mail.gnome.org/mailman/listinfo/mc