You need to download the script “rar2zip.sh” on the server and make it executable:
chmod +x rar2zip.sh
and then run
The first param is the directory path. If not specify, the script will check the current directory. Script logs are written in the folder “/tmp/rar2zip”.