RemoteRmDir [-r] <dir>
Removes an subdirectory from the current directory on the remote server. If the -r option is given, the command will attempt to delete everything (files and subdirectories) inside that directory. Otherwise the directory needs to be empty.
See also: LocalRmDir, RemoteMkDir, RemoteChDir.
Examples:
RemoteRmDir "tmpdir" (Delete empty directory named tmpdir)
RemoteRmDir -r "tmpfiles" (Delete directory named tmpfiles and everything in it)
← Back to Script Commands