[Solved] Modify Perl script to run for each file with specified extension in a given directory
I think I managed to generate this correctly (on iPad, sat on the sofa) … There could be some typos ; ) Usage: perl test_x397.pl <path> test_x397.pl #!/usr/bin/perl -w use strict; use warnings; use Encode; my ($path) = @ARGV; $path // die “No path specified”; (-e $path) or die “Path not found: $path”; (-d $path) … Read more