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
#!/usr/bin/env python3 | |
trans_dict = { | |
'\U0000f500': '\U000f0001', # vector_square | |
'\U0000f501': '\U000f0003', # access_point | |
'\U0000f502': '\U000f0002', # access_point_network | |
'\U0000f503': '\U000f0004', # account | |
'\U0000f504': '\U000f0005', # account_alert | |
'\U0000f505': '\U000f0006', # account_box | |
'\U0000f506': '\U000f0007', # account_box_outline |
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
ex () { | |
for arg in $@ ; do | |
if [ -f $arg ] ; then | |
case $arg in | |
*.tar.bz2) tar xjf $arg ;; | |
*.tar.gz) tar xzf $arg ;; | |
*.ova) tar xvf $arg ;; # Then to qcow2: qemu-img convert -O qcow2 MyAppliance-disk1.vmdk MyAppliance.qcow2 | |
*.tar) tar xf $arg ;; | |
*.tbz2) tar xjf $arg ;; | |
*.tgz) tar xzf $arg ;; |