Handle plots/ subdir, fix spaces in names
This commit is contained in:
parent
eacfc44ee9
commit
cdd82857d5
@ -8,7 +8,7 @@ use strict;
|
|||||||
binmode(STDIN, ':utf8');
|
binmode(STDIN, ':utf8');
|
||||||
binmode(STDOUT, ':utf8');
|
binmode(STDOUT, ':utf8');
|
||||||
|
|
||||||
my $subdir_regexp = qr{(?:figures|images)};
|
my $subdir_regexp = qr{(?:figures|images|plots)};
|
||||||
|
|
||||||
sub fix_subdirs {
|
sub fix_subdirs {
|
||||||
my ($p) = @_;
|
my ($p) = @_;
|
||||||
|
@ -49,7 +49,7 @@ handle_subdir()
|
|||||||
then
|
then
|
||||||
perl helpers/flatten-structure.pl < "$f" > "$dst"
|
perl helpers/flatten-structure.pl < "$f" > "$dst"
|
||||||
else
|
else
|
||||||
cp $f $dst
|
cp "$f" "$dst"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
@ -57,6 +57,7 @@ handle_subdir()
|
|||||||
|
|
||||||
handle_subdir images
|
handle_subdir images
|
||||||
handle_subdir figures
|
handle_subdir figures
|
||||||
|
handle_subdir plots
|
||||||
handle_subdir scores
|
handle_subdir scores
|
||||||
handle_subdir inputs
|
handle_subdir inputs
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user