SOLVED A small question, please on removing media through shell.

zazza

Dabbler
Joined
Jun 3, 2018
Messages
22
Hello,
I forced myself last year to go from zero knowledge of Freenas to at least 1% precent proficient in a year.
I recently was forced into 11.2 by screwing up a Plex update. The past 100 hours of my life have been trying to learn 11.2.
I no longer want to mess with my permissions to delete movies from the GUI. Im afraid Ill break it again. There was a lot of (too Lax 077 stuff)
So, my question is, how do I delete from the shell. Pick any film on here and teach me please. Ive tried a whole bunch of "rm" to no avail.

Grateful,
Wazza
 

Attachments

  • Screen Shot 2019-06-20 at 9.21.22 AM.png
    Screen Shot 2019-06-20 at 9.21.22 AM.png
    210.8 KB · Views: 214
Joined
Jul 3, 2015
Messages
926
They are directories so
Code:
rm -r Toy\ Story\ 4\ \(2019\)
 
Joined
Jul 3, 2015
Messages
926
No worries. In case you didn't know you can use Tab on your keyboard to auto-complete file/directory names so, for example, you could enter:

Code:
rm -r Toy
followed by the Tab key and it will auto-populate the rest.
 

zazza

Dabbler
Joined
Jun 3, 2018
Messages
22
No worries. In case you didn't know you can use Tab on your keyboard to auto-complete file/directory names so, for example, you could enter:

Code:
rm -r Toy
followed by the Tab key and it will auto-populate the rest.
That just made my day! Fantastic!!
 

ethereal

Guru
Joined
Sep 10, 2012
Messages
762
you can also use midnight commander

mc at the shell

you have a lot more options with mc - move/rename/delete etc. you can also select multiple items to work on
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
you can also use midnight commander
...which is probably the best answer for someone who's a bit of a n00b at the shell (and even for experienced users in many cases).
 

zazza

Dabbler
Joined
Jun 3, 2018
Messages
22
Thank you Ethereal.
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,080

zazza

Dabbler
Joined
Jun 3, 2018
Messages
22
That will be my weekend seminar!
 
Top