Bug 2138

Summary: SFTP interactive local rm
Product: Portable OpenSSH Reporter: Loganaden Velvindron <loganaden>
Component: sftpAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED WONTFIX    
Severity: enhancement CC: djm
Priority: P5    
Version: -current   
Hardware: All   
OS: All   
Attachments:
Description Flags
sftp local remove none

Description Loganaden Velvindron 2013-08-01 18:15:06 AEST
Created attachment 2325 [details]
sftp local remove

I'm not sure if people might find it useful, but when using reget in interactive mode, I often need to quit sftp and do a local rm.

I find it less annoying to use lrm (local remove file) within sftp.
Comment 1 Damien Miller 2013-09-19 10:29:04 AEST
The problem with implementing a local-rm is that we'd need to have it support the standard system rm flags, or at least -r, -i and -f. 

Given that you can do "!rm [flags] path [...]" with the same keystrokes as "lrm ..." but supporting all the options and needing no new code, I don't think this is worth it.
Comment 2 Damien Miller 2016-08-02 10:40:39 AEST
Close all resolved bugs after 7.3p1 release