You are not logged in.
Pages: 1
Topic closed
Hi!
How can I copy a file's full path with the file name in Midnight Commander?
If I press Ctrl+Alt+Enter it's shows this to me in the command line but I can't copy this route.
If I mark a file with 'Insert' and than if I would like to paste this for example in Mousepad or any other text editor with Shift+Insert or Ctrl+V it isn't works.
(Relatively newbie sitting here so if the answer is complicated please write a step-by-step instruction
)
Offline
Well,I did a lot of research on the internet and I found the best solution.
- choose the file,press 'Ctrl' + 'Shift' + 'Enter'
- after that you can see the full file path + the file name in the command line (bottom of the screen)
- Select the text with 'Shift' + 'Mouse Left Click' (drag it across the whole command)
- For copy the text, press 'Ctrl' + 'Insert'
- For paste, press 'Shift' + 'Insert'
This is still pretty damn slow,I wanted to do it with a single key combination while the file is selected but it looks impossible.
But at the same time I have started to use Ranger file manager which is also runs from terminal,extremely fast,easy to use and if I press 'Ctrl' + 'Insert' on a file it is copies the full path with the name of the file itself. Just perfect.
I won't mark the thread [SOLVED] because if anybody knows a better method for this in Midnight Commander (with a script or whatnot) maybe will write it down for us. I hope...
Offline
Sorry for late, but just FYI, Blum1866,
'Esc'+'a" then 'Esc'+'Enter' do this job for me flawlessly.
Offline
Thanks for sharing. I'm going to go ahead and close this three year old abandoned topic now.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1
Topic closed