Wget, Curl and POST (refs): Difference between revisions
From WikiMLT
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
Download a script from | Download a script from [https://pastebin.com/raw/HrLTibuR PasteBin] by <code>curl</code>: | ||
<syntaxhighlight lang=" | <syntaxhighlight lang="shell" line="1"> | ||
curl https://pastebin.com/raw/ | curl https://pastebin.com/raw/HrLTibuR | \ | ||
sudo chmod +x / | sed -e 's/\r$//' | sudo tee /ust/local/bin/merge-video-sub.sh && \ | ||
sudo chmod +x /ust/local/bin/merge-video-sub.sh | |||
</syntaxhighlight> | </syntaxhighlight> | ||
References: | References: |
Revision as of 13:27, 5 August 2022
Download a script from PasteBin by curl
:
curl https://pastebin.com/raw/HrLTibuR | \
sed -e 's/\r$//' | sudo tee /ust/local/bin/merge-video-sub.sh && \
sudo chmod +x /ust/local/bin/merge-video-sub.sh
References: