projects
/
videoscripts
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed some bugs found in re-testing
[videoscripts/.git]
/
organize_videos
diff --git
a/organize_videos
b/organize_videos
index 4e1ad7ff95bd95c29ffb28cd442304680a820592..5625f8bcd927a0ca19830dadabf4155cafd255bd 100755
(executable)
--- a/
organize_videos
+++ b/
organize_videos
@@
-197,7
+197,7
@@
foreach $file (`$find_cmd_with_mkv`) {
# We are ready to pick a destination folder to put the video in
$dstdir = $dstpathname . "/" . $year;
# We are ready to pick a destination folder to put the video in
$dstdir = $dstpathname . "/" . $year;
- $dstdirs
[$dstdir]
= 1;
+ $dstdirs
{$dstdir}
= 1;
$dstfile = $dstdir . "/" . $year . "-" . $monthnum . "-" . $day;
# Check for duplicate filenames at the destination
$dstfile = $dstdir . "/" . $year . "-" . $monthnum . "-" . $day;
# Check for duplicate filenames at the destination