You need to remove the trailing slash, because a link is a file, but the shell interprets it as a directory
this post was submitted on 12 Aug 2023
55 points (96.6% liked)
linuxmemes
20464 readers
584 users here now
I use Arch btw
Sister communities:
- LemmyMemes: Memes
- LemmyShitpost: Anything and everything goes.
- RISA: Star Trek memes and shitposts
Community rules
- Follow the site-wide rules and code of conduct
- Be civil
- Post Linux-related content
- No recent reposts
Please report posts and comments that break these rules!
founded 1 year ago
MODERATORS
The fun part is that tab completion insists on putting the slash there.
have you tried it?
Perfect time to reinstall the OS
/s
Just use rm -rf and live on the edge.
Use unlink
instead
rm -rf Stable-diffusion/