Lazy copy file from one terminal to the other

I hate doing repetitive manual work, that's why I work with computers

I always have many terminals open but with long paths, it's quite a hassle to copy from files from one to the other, so……..

I wrote a script for that, copying files between open terminals

It finds every open terminal and propose them as copy target (if more than one term is opened)

https://github.com/thibault-ketterer/magic_cp

Works for mac and Linux (a bit more complicated to install on mac do to the lack of /proc )

Indeed, it also works remotely (ssh)

Feel free to leave a comment / PR..

Merry Christmass.

--

--