-1

This is my symlink:

export -> /home/company/test/var/export/

I tried to delete it with rm export/

Output: rm: cannot remove ‘export/’: Is a directory

So I tried unlink: unlink export/

Output: unlink: cannot unlink ‘export/’: Not a directory

muru
  • 207,228
Black
  • 844

1 Answers1

-1

The problem is the trailing slash.

rm export/ fails

rm export works <--

Black
  • 844