https://github.com/cage1016/alfred-source2target
Swiftly transfer and replicate files between origin and destination directories via fuzzy search
https://github.com/cage1016/alfred-source2target
ak alfred alfred-workflow alfred-workflows alfred5 fd finder golang
Last synced: about 2 months ago
JSON representation
Swiftly transfer and replicate files between origin and destination directories via fuzzy search
- Host: GitHub
- URL: https://github.com/cage1016/alfred-source2target
- Owner: cage1016
- License: mit
- Created: 2023-08-05T13:34:40.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-06-26T01:16:17.000Z (11 months ago)
- Last Synced: 2025-04-12T13:13:28.321Z (about 2 months ago)
- Topics: ak, alfred, alfred-workflow, alfred-workflows, alfred5, fd, finder, golang
- Language: Go
- Homepage:
- Size: 4.55 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# alfred-source2target
> Swiftly transfer and replicate files between origin and destination directories via fuzzy search
[](https://github.com/cage1016/alfred-source2target/actions/workflows/release.yml)
[](https://lbesson.mit-license.org/)

[](https://codecov.io/gh/cage1016/alfred-source2target)
## Prerequisite
- Alfred 5
- dependaencies
- [sharkdp/fd: A simple, fast and user-friendly alternative to 'find'](https://github.com/sharkdp/fd)## Features
- Add / Remove **Source** folder
- Transfer and replicate files from **Source** folder to frontest Finder or QSpace Pro location
- Transfer and replicate files from **Source** folder to **Target** folder picked from Alfred## Usage
Add the **Source** folder through the `sf` keyword, all actions will start from the source folder
Manage the **Source** folder
- ADD
- REMOVE exist **Source** folder
Move / Copy **Source** folder files to frontest Finder location via `scf` keyword
- `⌘` to manage **Source** folder
- Choose the **Source** folder and start to fuzzy search
Move / Copy **Source** folder files to Target folder picked from Alfred via `sgf` keyword
- `⌘` to manage **Source** folder
- Choose the **Source** folder and start to fuzzy search
Both of `scf` & `sgf` keyword support `fd` fuzzy search (Please visit [sharkdp/fd](https://github.com/sharkdp/fd) to check more detail information). For example, `--changed-within 1w` will only show files changed within 1 week, `-e alfredworkflow` will only show file extensions is `.alfredworkflow`
### `scf`
- `Enter` move result files (1-4) to frontest Finder location
- `⇧` + `Enter` send recent files (1-4) up to this file to the pasteboard
- `⌥` + `Enter` copy result files (1-4) to frontest Finder location
- `⌘` + `Enter` move ONLY this file (4) to to frontest Finder location
- `⌘` + `⇧` + `Enter` send ONLY this file (4) to the pasteboard
- `⌘` + `⌥` + `Enter` copy ONLY this file (4) to to frontest Finder location
Also support `#1,3-4,7` range selection syntax fulfill specific file(s)
- start range with `#` means file index
- `#1,3-4,7` means the first, third, fourth and seventh file
### `sgf`
- `Enter` move result files (1-2) to **Target** folder picked from alfred later
- `⇧` + `Enter` send recent files (1-2) up to this file to the pasteboard
- `⌥` + `Enter` copy result files (1-2) to **Target** folder picked from alfred later
- `⌘` + `Enter` move ONLY this file (2) to to **Target** folder picked from alfred later
- `⌘` + `⇧` + `Enter` send ONLY this file (2) to the pasteboard
- `⌘` + `⌥` + `Enter` copy ONLY this file (2) to to **Target** folder picked from alfred later
Also support `#1,6` range selection syntax fulfill specific file(s)
- start range with `#` means file index
- `#1,6` means the first and sixth file
## Change Log
Vist [CHANGELOG.md](CHANGELOG.md) to check detail information
## License
This project is licensed under the MIT License. See [LICENSE](LICENSE) for details.