paste_holen.sh hinzugefügt
This commit is contained in:
11
paste_holen.sh
Normal file
11
paste_holen.sh
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
PASTE_ID="$1" # Aufruf: ./paste_holen.sh abc123
|
||||||
|
|
||||||
|
if [ -z "$PASTE_ID" ]; then
|
||||||
|
echo "Verwendung: $0 <paste-id>"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
curl -s "https://pastebin.com/raw/$PASTE_ID"
|
||||||
|
|
||||||
Reference in New Issue
Block a user