Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 798 Bytes

README.md

File metadata and controls

34 lines (25 loc) · 798 Bytes

Windows Style Ctrl+C Ctrl+V

This repository contains a set of Bash scripts for copy, cut and paste commands.

Ctrl + C
bart@ubuntu ~ $ ctc scripts/
Copy: scripts/
Cached for copy
bart@ubuntu ~ $
Ctrl + X
bart@ubuntu ~ $ ctx scripts/
Cut: scripts/
Cached for cut
bart@ubuntu ~ $
Ctrl + V
bart@ubuntu ~/tmp $ ctv
Successfully copied/cut files
Cleared cache
bart@ubuntu ~/tmp $

But why?

During my period of learning Bash I found it unusual to have to provide full or relative paths for both source and destination. It was acceptable for copying and pasting one or two files somewhere next to the current directory, but it was a bit of a pain while copying multiple files in very different directories. That's why! :D