I am putting some files to a destination server from a source computer. After SFTP, I run "rm -rf *" command to delete all the files from the folder on the destination server. However, I am getting the following error:
rm: Invalid flag -r
How to fix this error so that I can delete the files before copying the files?