Skip to content

BartekPog/Bash-copy-paste

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Windows-style copy and paste files in bash

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages