New release of mycopycover.pl, with pattern search...
The only change since mycopycover.pl v1.00 is the ability to specify keys on the command line, that will be used to filter the cover copy.
Thus, mycopycover.pl v1.10 usage is now :
mycopycover.pl - v1.10
This script copies album covers found in Amarok's cache to the album directories.
Usage: mycopycover.pl [-dfhrtv] [-c <scheme>] [-s <string>] [<key>... <key>]
-c <scheme> : use <scheme> as cover filename scheme (default: '%a - %t.png')
recognized jokers in <scheme> are :
'%a', which will be expanded to artist name
'%t', which will be expanded to album's title
-d : do not create .directory entries
-f : force replacement of existing covers / .directory entries
-h : this (help) message
-r : remove covers from Amarok's cache once copied into albums' directories
-s <string> : use <string> as artist name for sampler albums (default: 'Various Artists')
-t : test mode, won't perform any action
-v : verbose output
-w : don't warn about possible problems with locale
<key> : (perl) regular expression used to match a particular album. album keys are in ''artist - title'' format. search is case insensitive.
Default behaviour is to scan your whole collection.
If you only want to copy cover for all your DJ Shadow albums, use "dj shadow.*" as a key.
If you only want to copy cover for an album named The outsider, use ".*the outsider" as a key.
If you only want to copy cover for DJ Shadow's The Outsider album, use "dj shadow - the outsider" as a key.