You are not logged in.

#1 2014-06-24 11:46:03

Blum1866
Member
From: Hungary
Registered: 2014-06-18
Posts: 5

Copy full file path+file name in Midnight Commander

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 big_smile )

Offline

#2 2014-06-25 09:32:35

Blum1866
Member
From: Hungary
Registered: 2014-06-18
Posts: 5

Re: Copy full file path+file name in Midnight Commander

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

#3 2017-04-22 12:35:19

san_t
Member
Registered: 2017-04-22
Posts: 1

Re: Copy full file path+file name in Midnight Commander

Sorry for late, but just FYI, Blum1866,

'Esc'+'a" then 'Esc'+'Enter' do this job for me flawlessly.

Offline

#4 2017-04-22 13:18:38

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,528
Website

Re: Copy full file path+file name in Midnight Commander

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

Board footer

Powered by FluxBB