correct file path and command to manually delete directory?


Recommended Posts

:-[

 

On one of my first linux machines 1.5 years ago I somehow managed to setup daily backups to my unRAID server via a GUI rsync tool. What I eventually realized was that the backup was also making a local copy...which was not excluded from the backup. I was able to clean out most of the Share through Windows Explorer, but there are so many nested folders that Windows will not actually allow me to delete it! I went REALLY deep into the nested folders one day and it still wouldn't let me delete because of path length.

 

I know this is something very achievable on the unRAID command line, but I'm nervous (paranoid?) that I'm going to wreck my system.

 

I need to empty share Xubuntu, what is the proper way to do this? user and user0?

 

Another potential problem: When I SSH into my unRAID server I only see 3 files...and don't see a folder structure with ls. what gives? duh..I didn't cd / first.

Link to comment

Either TELNET into unraid, or use the console.

 

type the command 'MC' (stands for Midnight Commander)

 

You'll see a screen interface that allows you to arrow key up and down through your folders.

Function key definition are painted at the bottom of the MC window.

 

Browse down into the share that you're after, highlight the folder/file you want to delete and hit the function key.

 

...deletions are not recoverable. If you're nervous, play around a bit with the interface. If you get lost, just Quit (F10 in the function keys).

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.