This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Recursively converts all HEIC files to JPG for the specified directory. | |
# Skips any files that have already been converted. | |
# Requires ImageMagick | |
# | |
# usage: ./heic2jpg.sh [RootDirectory] | |
# | |
rootDir=$1 | |
set -e |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
pcap_file="voip.pcap"; #nama file pcap | |
audio_output="suara.wav"; #output audio | |
raw_file="suara.raw"; #nama raw file hasil extract | |
if [ $EUID -ne 0 ]; then | |
echo "This script must be run as root"; | |
exit 1; | |
fi |