mirror of
https://github.com/FrodoVDR/channellogos.git
synced 2023-10-10 13:36:54 +02:00
18 lines
266 B
Perl
Executable File
18 lines
266 B
Perl
Executable File
#!/usr/bin/perl
|
|
use strict;
|
|
use File::Basename;
|
|
|
|
foreach my $logo (glob("./logos/*")) {
|
|
if ( "$logo" =~ /.png$/ )
|
|
{
|
|
print "$logo"."\n";
|
|
my $name = $logo;
|
|
$name =~ s/.png/.svg/g;
|
|
if ( -f $name )
|
|
{
|
|
print "found: $name"."\n";
|
|
}
|
|
}
|
|
}
|
|
|