#!/bin/bash #Fomat USB Key Tool Using bigbashview #export TEXTDOMAINDIR="/usr/share/locale" #export TEXTDOMAIN=flash-javaws-widevine-fonts # Import BigControlCenter base modules / Importa os módulos básicos do BigControlCenter # That's include jquery and materialize / Isso inclui o jquery e o materialize # http://materializecss.com/ . /usr/share/bigbashview/bcc/shell/base.sh #Title/Description variables bcc_title=$"BigLinux USB Formatter" bcc_description=$"Formata um Dispositivo USB" # To disable logo use: bcc_logo="no" bcc_logo="logo.png" # About variables # To disable about use: bcc_about="no" bcc_about="no" bcc_about_license=$"GPL v2 or greater" bcc_about_by=$"Bruno Gonçalves" bcc_about_release_date=$"01/08/2019" bcc_about_url_code=$"https://github.com/biglinux/usb-tool" bcc_about_url_project=$"https://www.biglinux.com.br" # Print header in screen bcc_header ############### # Start Content DEVS="" DEVS=$(ls -l /dev/disk/by-path/*usb* | grep -v "part" | awk '{print $NF}' | awk -F "/" '{print $NF}') if [ "$DEVS" != "" ]; then echo '
' ######### # The end echo '