hodkenneth Posted March 1, 2016 Share Posted March 1, 2016 Hello. Having a bit of trouble deleting a share that is on my cache from a docker (Plex). When I go to the share in windows and try to delete it, it goes threw the deleting process, but the files remain. Does the whole green deleting bar and everything. They just wont go away. Structured as: Cache (Actual cache drive) -Dockers (First Folder) --Plex Media Server (Sub folder) ---"Files I want to delete" (Files) Not the best in the CLI. But I tried -rm -rf /mnt/cache/Dockers/Plex Media Server/ and get a no directory found. Latest unRaid. If anyone knows the proper input please let me know. I don't need anything in the Plex folder. Trying to clean it out for a fresh install. But would like to keep the other docker shares. Thanks, Kenneth. Quote Link to comment
itimpi Posted March 1, 2016 Share Posted March 1, 2016 Did you remember to either put quotes around the path or escape the spaces with backslash? I always find that using tab to auto-complete partial filenames makes this easier. Quote Link to comment
hodkenneth Posted March 1, 2016 Author Share Posted March 1, 2016 Can you give an example with slashes. Was wondering if the spaces were giving me troubles. I did do "rm -rf /mnt/cache/Dockers/Plex Media Server" and got no directory found. Quote Link to comment
Squid Posted March 1, 2016 Share Posted March 1, 2016 Can you give an example with slashes. Was wondering if the spaces were giving me troubles. I did do "rm -rf /mnt/cache/Dockers/Plex Media Server" and got no directory found. Plex\ Media\ Server Quote Link to comment
xisplo Posted March 2, 2016 Share Posted March 2, 2016 Can you give an example with slashes. Was wondering if the spaces were giving me troubles. I did do "rm -rf /mnt/cache/Dockers/Plex Media Server" and got no directory found. itd be rm -rf "/mnt/cache/Dockers/Plex Media Server" but the right way is rm -rf /mnt/cache/Dockers/Plex\ Media\ Server Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.