That'll teach me to read the whole post before replying in future won't it :tongue:

Code:
alias mp3Sort {
  if (!$isid) {
    echo -a Usage: $!mp3Sort(folder1,folder2)
    return
  }
  if (!$isdir($1)) || (!$isdir($2)) { return }
  var %dir = $iif(*\ iswm $2,$2,$2\)
  return $findfile($1,*.mp3,0,1,!.echo -q $copyfile($1-,%dir))
}
alias -l copyfile {
  if (!$isid) {
    echo -a Usage: $!copyfile(file,directory)
    return $false
  }
  if ($isfile($1)) && ($isdir($2)) {
    if (!$isdir($+($2,$mkfn($iif($sound($1).genre != $null,$v1,Unknown)),\))) { .mkdir $+(",$2,$mkfn($iif($sound($1).genre != $null,$v1,Unknown)),\") }
    .copy " $+ $1" $+(",$2,$mkfn($iif($sound($1).genre != $null,$v1,Unknown)),\,$nopath($1),")
    return $true
  }
  return $false
}


This is used the same as the other one ($mp3Sort(folder1,folder2)) but this time it actually does what you want (I hope) smile


New username: hixxy