Skip to content
linscpSecure file transfer for Linux and Windows
GitHub

commands

rmdir

Delete empty remote directories.

Generated from linscp 0.6.1
rmdir <remote-directory>...

Deletes each named directory. Most servers refuse unless the directory is empty; to delete a directory with its contents, use rm. rmdir accepts only directories, which guards against deleting a file by mistake.

When the site has a remote recycle bin configured, the directories are moved there instead.

Terminal window
rmdir /var/www/releases/2.3.0