Pov Me, trying to remove a soft-link to a directory

56 points · 7 comments · view on lemmy.world

7 Comments

maxbossing@feddit.de · 28 pts · 3y (2 replies)

You need to remove the trailing slash, because a link is a file, but the shell interprets it as a directory

rotopenguin@infosec.pub · 6 pts · 3y (1 reply)

The fun part is that tab completion insists on putting the slash there.

heimchen@discuss.tchncs.de · 1 pts · 3y

have you tried it?

starman@programming.dev · 11 pts · 3y

Perfect time to reinstall the OS

/s

pacology@lemmy.world · 10 pts · 3y

Just use rm -rf and live on the edge.

exu@feditown.com · 7 pts · 3y

Use unlink instead

kyokiluna1@lemmy.world · 2 pts · 2y

rm -rf Stable-diffusion/