Installing Zbarimg On Linux
Page 1 of 1
Re: Installing Zbarimg On Linux
Bash Function For Linux Automation
Example:
- Code:
#!/bin/bash
# Usage: ./AYD.sh https://youtu.be/0aTex-VPnpI
myvar="$@"
youtube-dl "$myvar"
a=1
for i in *.mp4; do
new=$(printf "%04d.mp4" "$a") #04 pad to length of 4
mv -- "$i" "$new"
let a=a+1
done
ffmpeg -i 0001.mp4 -ss 00:00:01 -vframes 1 out.png
rm 0001.mp4
clear
zbarimg out.png
Example:
- Code:
./AYD.sh https://youtu.be/0aTex-VPnpI
Last edited by jamied_uk on 9th July 2016, 00:34; edited 1 time in total
Re: Installing Zbarimg On Linux
You will need to install the following after the ffmpeg has been setup (or before).
- Code:
sudo apt-get install -y youtube-dl zbarimg
Re: Installing Zbarimg On Linux
Generate QR Code From CLI On Linux
The generated QR code ends up in the qrcode.png file. If the file already exists, it’s overwritten without prompting. If you have at least version 3.3.0 (qrencode -V), Qrencode can generate an EPS graphic,
liinux-magazine.com/Online/Features/Generating-QR-Codes-in-Linux
- Code:
#!/bin/bash
clear
# Usage: ./Generate.sh "string or text / URL"
# Example: ./Generate.sh "boobies"
myvar="$@"
qrencode -o qrcode.png "$myvar"
echo "qrcode.png Created With Text $myvar"
The generated QR code ends up in the qrcode.png file. If the file already exists, it’s overwritten without prompting. If you have at least version 3.3.0 (qrencode -V), Qrencode can generate an EPS graphic,
- Code:
qrencode -t EPS -o qrcode.eps 'Hello World!'
liinux-magazine.com/Online/Features/Generating-QR-Codes-in-Linux
Similar topics
» Installing GIT For Linux
» Installing Pycharm On Linux
» Installing & Using Keynote For Linux
» Installing Xerosploit On Linux
» Installing Hashcat For Linux
» Installing Pycharm On Linux
» Installing & Using Keynote For Linux
» Installing Xerosploit On Linux
» Installing Hashcat For Linux
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum