#!/bin/sh # # Create ID3 tags and info.txt files for all disks we have disk ids # # $Id: alltag,v 1.2 2002/05/26 17:53:25 dds Exp $ # # (C) Copyright 2000-2002 Diomidis Spinellis # # Permission to use, copy, and distribute this software and its # documentation for any purpose and without fee is hereby granted, # provided that the above copyright notice appear in all copies and that # both that copyright notice and this permission notice appear in # supporting documentation. # # THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED # WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF # MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. # MUSIC=/vol/music find $MUSIC -name diskid -print | sed 's,/diskid$,,' | while read d do ( echo "Tag $d" cd "$d" cdtag -d -f diskid -b ) done