I would like to recursively delete a folder and his subfolders. I use ncftp. This application provides rm and rmdir.
I already looked up the manpage, but it doesn't help.
I would like to recursively delete a folder and his subfolders. I use ncftp. This application provides rm and rmdir.
I already looked up the manpage, but it doesn't help.
You need to use /*, as in rm -rf directory/*
This is how it works:
rm -rf directory
As someone pointed out, depending on the ncftp version it won't work. Try this syntax then:
rm -rf directory/*