I have a host that I can only access with sftp, scp, and rsync-- no ssh. I have a large tree of directories that I want to delete, but my sftp client apparently does not support recursive rm
s or rmdir
s. In the help screen, it shows I can do recursive put
s, but that doesn't help me.
How can I delete my files?
I can only access with sftp, scp, and rsync
- it isn't asking about only sftp. – sambler Mar 23 '19 at 03:35mkdir a && rsync -r --delete a/ user@host:path
. – x-yuri May 16 '22 at 18:03