https://github.com/doloopwhile/dap
Drag file to process it in shell
https://github.com/doloopwhile/dap
Last synced: 3 months ago
JSON representation
Drag file to process it in shell
- Host: GitHub
- URL: https://github.com/doloopwhile/dap
- Owner: doloopwhile
- License: mit
- Created: 2014-10-02T09:48:39.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-10-05T08:58:33.000Z (over 11 years ago)
- Last Synced: 2024-06-21T13:02:53.001Z (over 1 year ago)
- Language: Go
- Size: 145 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
dap
===
Drag file to process it with shell command.

`dap` command show a window and simple print path of dropped file.
## Install
```sh
go get github.com/doloopwhile/dap
```
## Example
Copy files to backup by drag and drop
```sh
dap | xargs cp {} $HOME/backup
```
Upload files to S3 by drag and drop
```sh
dap | xargs aws s3 cp {} s3://your-s3-bucket/dir/
```