Handle plots/ subdir, fix spaces in names

This commit is contained in:
Filip Gralinski 2022-11-09 16:55:32 +01:00
parent eacfc44ee9
commit cdd82857d5
2 changed files with 3 additions and 2 deletions

View File

@ -8,7 +8,7 @@ use strict;
binmode(STDIN, ':utf8');
binmode(STDOUT, ':utf8');
my $subdir_regexp = qr{(?:figures|images)};
my $subdir_regexp = qr{(?:figures|images|plots)};
sub fix_subdirs {
my ($p) = @_;

View File

@ -49,7 +49,7 @@ handle_subdir()
then
perl helpers/flatten-structure.pl < "$f" > "$dst"
else
cp $f $dst
cp "$f" "$dst"
fi
done
fi
@ -57,6 +57,7 @@ handle_subdir()
handle_subdir images
handle_subdir figures
handle_subdir plots
handle_subdir scores
handle_subdir inputs