Skip to content
/ pickup Public

Copy files to clipboard from command line (Windows/OSX/Linux)

License

Notifications You must be signed in to change notification settings

b1tg/pickup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9a3e9a2 · Mar 9, 2024

History

11 Commits
Feb 11, 2021
Feb 11, 2021
Mar 9, 2024
Feb 7, 2021
Feb 11, 2021
Sep 18, 2022
Sep 18, 2022
Mar 9, 2024
Dec 8, 2022

Repository files navigation

Pickup

中文文档

Copy files to clipboard from command line, expecting to achieve the same effect as right-click copy. Now support Windows, OSX and Linux.

How to use

Build

Step 0: install rust

Step 1: clone & build

git clone https://github.com/b1tg/pickup.git
cd pickup
cargo build --release
# you can find pickup or pickup.exe in ./target/release/

Step 2 (optional): add pickup to you PATH

Step 3 (only for linux): install xclip

Usage

Usage: pickup [file patterns]

Exameple: 
    # copy single file
    pickup Cargo.toml
    
    # copy all pdf file in target subdirectories (need double quotation)
    pickup "docs/**/*.pdf"


    # copy folder
    pickup src

Demo

On Windows:

demo on windows

On OSX:

demo on osx

References

About

Copy files to clipboard from command line (Windows/OSX/Linux)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages