Skip to content
Discussion options

You must be logged in to vote

Why is it using recursive operation for a single file?

Because it works for both file and folders. In case of files, it doesn't do anything so it's harmless. And it's not worth trying to check whether it's a file or folder just to remove a harmless -r, especially since nnn allows deleting multiple entries via selection.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by N-R-K
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants