This file contains hidden or 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/perl | |
use strict; | |
use warnings; | |
use List::MoreUtils qw(zip); | |
my @a = ( 'Kernel Name', 'Hostname', 'Kernel', 'Platform', 'OS' ); | |
my @b = split(/ /, `uname -snrio`); | |
chomp($b[-1]); | |
my @c = ( 'used', 'total' ); | |
my %uname = zip(@a, @b); |
This file contains hidden or 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/sh | |
ALBUM=$(basename "`pwd`") | |
ARTIST=$(basename "$(dirname "`pwd`")") | |
TOT=$( ls -1 | grep \.mp3 | wc -l ) | |
printf "Tagging %d track in pwd as %s / %s\n" "$TOT" "$ARTIST" "$ALBUM" | |
printf "Pick a genre: (enter to list, the genre id, or '255' to specify string) " | |
read GENRE | |
if [ "x${GENRE}" = "x" ]; then | |
id3v2 -L | less | |
read GENRE |
NewerOlder