Jump to content

midnight commander not working as I expected it to


papnikol

Recommended Posts

So, before removing some disks, I am copying their data to a larger installed disk. As you can see in the following image, I am trying to move all files form disk 9 to disk13. Both contain a '-MOVIES' directory at their root. I want the '-MOVIES' directory from disk9 to move to disk 13 (I dont mind any overwrites).

 

image.thumb.png.0a0839c463ce8e08744f10851d566028.png

 

But, as you can see, somehow the '-MOVIES' directory is moved inside the disk13  '-MOVIES' directory .

image.thumb.png.1391d72afb5fc6b14723c32a07ca392f.png

 

What am I doing wrong?

Link to comment

Not sure how you managed to do that, but here is how I would have moved it. 

 

1. Go to /mnt/disk13 on the right side. 

2. Go back to left side and go to /mnt/disk9.

3. Move the marker to the -MOVIES folder. 

4. Hit F6 and make sure preserve attributes and dive into subdirs are marked. 

 

Link to comment

Like he said.

 

I always just get the source showing in the left pane and the destination showing in the right pane and hit the function key. I don't type the destination as it looks like you must have tried since the destination isn't showing on the right in your screenshot. The only time I type the destination is when I'm doing a simple rename, and even then I make sure I have both panes showing source and destination folders.

Link to comment
22 minutes ago, papnikol said:

Thanks to both of you. I still have the same problem.  

 

image.thumb.png.aac825645c3f037a19d9ee2b3f268013.png

 

Maybe i should reinstall mc?

Reinstall MC? Did you install it yourself? 

You can just reboot unraid to get it back to default. 

Link to comment
2 minutes ago, saarg said:

Reinstall MC? Did you install it yourself? 

You can just reboot unraid to get it back to default. 

 

No, I  was just trying to think of a solution. I actually rebooted and it did not help. BTW, I run mc through screen but I cant imagine how this could be a problem...

Link to comment
11 minutes ago, bonienl said:

Post a screenshot when you press F6 to initiate the move operation but BEFORE you press enter to execute the move operation.

 

Your first picture already shows that. What is the output of


ls -l /mnt/disk13

 

 

image.png.f986ab6ffa75bdd89e16b8216645573c.png

 

 

Link to comment
2 minutes ago, trurl said:

Are you sure you don't have a -Movies folder in the -Movies folder on the source?

100% sure

 

1 minute ago, bonienl said:

What happens if you uncheck the option "Dive into subdir if exists" (default setting is unchecked)

Wow, it works OK now. And it still copies subdirectories from the source.

I dont understand why, though, as this option supposedly dives into the SOURCE directoey...  

 

Link to comment
1 minute ago, bonienl said:

 

I have never used this option, but it looks like it is for the TARGET directory (creates one level lower).

 

So, guys, sorry for wasting all your  time, but I had checked it at that link:

http://www.comptechdoc.org/os/linux/manual2/commander.html

I should remember to never trust the internet...

 

Edit: It is also explained correctly here (somehow i missed it):

 

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...