Posts: 54
Joined: Jun 2009
Reputation:
0
I have one movie in the /home/videos directory that i am unable to delete with ssh or terminal. I tells me the directory or file doesn't exist but i can see it in ssh or browse to it in xbmc i can edit any other video in that directory via ssh but not this specific one. Permissions say -r -w . Any ideas on how to remove? thanks in advance.
Posts: 1,533
Joined: Sep 2007
Reputation:
20
arnova
Team-Kodi Developer
Posts: 1,533
This is beyond the scope of XBMC.... It's rather a general Linux-usage thing...
-= Team Kodi developer fueled by heavy metal =-
Posts: 54
Joined: Jun 2009
Reputation:
0
Do you know the command? I tried rm dir and rm dir -r or -rf , no luck.
Posts: 1,533
Joined: Sep 2007
Reputation:
20
arnova
Team-Kodi Developer
Posts: 1,533
Ok for this one time(!)...: For a single file it should be "rm -f {file}" but it MUST be owned by the current user doing it and if it contains special chars like spaces you must double quote it (that's probably your problem)...
WARNING: Better not f*ck around with rm -rf if you don't know what you're doing (it can really screw up your system if used incorrectly) and from what you're saying you're obviously not very experienced with the Linux console. Why not just use the GUI? It should also get the job done.
-= Team Kodi developer fueled by heavy metal =-
Posts: 54
Joined: Jun 2009
Reputation:
0
Yes aware -rf will remove everything in not in the right dir. i enabled file deletion within the gui and it worked. Thanks for the help arnova.