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
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
The problem is the trailing slash.
rm export/
failsrm export
works <--