papnikol Posted May 8, 2018 Share Posted May 8, 2018 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). But, as you can see, somehow the '-MOVIES' directory is moved inside the disk13 '-MOVIES' directory . What am I doing wrong? Link to comment
saarg Posted May 8, 2018 Share Posted May 8, 2018 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
trurl Posted May 8, 2018 Share Posted May 8, 2018 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
papnikol Posted May 8, 2018 Author Share Posted May 8, 2018 Thanks to both of you. I still have the same problem. Maybe i should reinstall mc? Link to comment
saarg Posted May 8, 2018 Share Posted May 8, 2018 22 minutes ago, papnikol said: Thanks to both of you. I still have the same problem. 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
papnikol Posted May 8, 2018 Author Share Posted May 8, 2018 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
bonienl Posted May 8, 2018 Share Posted May 8, 2018 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 Link to comment
saarg Posted May 8, 2018 Share Posted May 8, 2018 I tried the same here, and it works as expected, it moves the directory to the other disk. Could you also do the below ls -l /mnt/disk9/-MOVIES/ Link to comment
papnikol Posted May 8, 2018 Author Share Posted May 8, 2018 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 Link to comment
trurl Posted May 8, 2018 Share Posted May 8, 2018 Are you sure you don't have a -Movies folder in the -Movies folder on the source? Link to comment
bonienl Posted May 8, 2018 Share Posted May 8, 2018 What happens if you uncheck the option "Dive into subdir if exists" (default setting is unchecked) Link to comment
papnikol Posted May 8, 2018 Author Share Posted May 8, 2018 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
bonienl Posted May 8, 2018 Share Posted May 8, 2018 34 minutes ago, papnikol said: I dont understand why, though, as this option supposedly dives into the SOURCE directoey I have never used this option, but it looks like it is for the TARGET directory (creates one level lower). Link to comment
papnikol Posted May 8, 2018 Author Share Posted May 8, 2018 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.