Here's some code that should work on linux (assuming you have bash):

Code:
--------------------
    
  #!/bin/bash
  find "$2" -type f -name '*.flac' | while read FILE 
  do
        if [ "`metaflac --show-tag=$1 "$FILE"`" == "" ]; then
                echo $FILE
        fi
  done
  
--------------------


If you call this, say, tag-find then the usage syntax is:

tag-find [tag] [directory]


and it will recurse through directory identifying any flac files with
the tag "tag" missing.

Hope that helps.

EDIT: deleted a comment no longer required.


-- 
smc2911
------------------------------------------------------------------------
smc2911's Profile: http://forums.slimdevices.com/member.php?userid=4388
View this thread: http://forums.slimdevices.com/showthread.php?t=44701

_______________________________________________
ripping mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/ripping

Reply via email to