mirror of
https://github.com/matze/wastebin.git
synced 2026-04-25 08:36:00 +03:00
[GH-ISSUE #53] Paste from PWSH - WT #40
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/wastebin-matze#40
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @CrazyWolf13 on GitHub (May 4, 2024).
Original GitHub issue: https://github.com/matze/wastebin/issues/53
Hi
Awesome tool you made!!
I'd like to write a ps1 function that allows me to pipe into wastebin and then get the url-->
cat "Hello World!" | pasteToWasteI tried this approach, but cannot really get anything to work, have you got an idea?
@CrazyWolf13 commented on GitHub (May 5, 2024):
I could solve it myself, if anyone has a similar problem, the above worked for me, the function ptw (PasteToWaste) takes
ptw {filepath} {time} {true/false(burn after read)}and pptw is when using the pipe, like this:cat test.txt | pptw