Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bartekpog/bash-copy-paste
Windows-style copy and paste files in bash
https://github.com/bartekpog/bash-copy-paste
Last synced: 17 days ago
JSON representation
Windows-style copy and paste files in bash
- Host: GitHub
- URL: https://github.com/bartekpog/bash-copy-paste
- Owner: BartekPog
- License: mit
- Created: 2020-10-02T20:38:51.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2020-10-08T20:05:06.000Z (about 4 years ago)
- Last Synced: 2024-10-28T14:38:41.748Z (2 months ago)
- Language: Shell
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Windows Style Ctrl+C Ctrl+V
This repository contains a set of **Bash** scripts for _copy_, _cut_ and _paste_ commands.
###### Ctrl + C
```bash
bart@ubuntu ~ $ ctc scripts/
Copy: scripts/
Cached for copy
bart@ubuntu ~ $
```###### Ctrl + X
```bash
bart@ubuntu ~ $ ctx scripts/
Cut: scripts/
Cached for cut
bart@ubuntu ~ $
```###### Ctrl + V
```bash
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