I am using scp to copy stuff to a remote location. But sometimes scp does not work as expected, I have found that sometimes the copy does not complete properly (possibly when I have added new files to the folder I am copying).
So I want to remove the remote folder first and then do the copy to ensure that I have exactly what I need.
Are there other commands like scp (e.g. srm or smv)? Or is there a way to remove remote folders and files?