Old directory delete shell

K.J

Explorer
Joined
Apr 3, 2021
Messages
84
Can anyone tell me how to delete the folder below via the shell.
Via rm -r it doesn't work.

\\TRUENAS\Media\Library
 
Joined
Oct 22, 2019
Messages
3,641
Pause. Slow down. :oops:

What are you trying to do exactly?

You’re teetering on accidentally destroying your data.

Please provide more context and information.

At first glance, it seems you’re confusing accessing a network share via Windows versus the command-line on the TrueNAS server itself.
 

K.J

Explorer
Joined
Apr 3, 2021
Messages
84
@winnielinnie

It is an old folder created by plex.
Now have a separate folder for the library
Don't want it between me media files.
Through windows I cannot delete it.
 
Joined
Oct 22, 2019
Messages
3,641
Is the Library "folder" a dataset mountpoint?
 

K.J

Explorer
Joined
Apr 3, 2021
Messages
84
@winnielinnie

I have it like this now.
Then I can delete the library folder from the media folder.
I don't want it in between the media.
It can be done that way right?
see picture.
Plex.jpg
 
Joined
Oct 22, 2019
Messages
3,641
Is Library a child dataset you created under the parent dataset Media?

What does your dataset layout look like?
Code:
zfs list -r -t filesystem BackUps
 

K.J

Explorer
Joined
Apr 3, 2021
Messages
84
@winnielinnie

library was created by plex.
I thought that by creating a separate child data set under container apps that it would then no longer be in the media folder.
Anyway I will still have to point plex to the media folder.

What I want is the library in a separate folder, not between the media files.
Is that possible?

Just turned everything back for a while now.
Can't hobby any further at the moment :smile:
Thanks for your help Winnie !
 
Top