1
0
Fork 0
mirror of https://github.com/sbrl/bin.git synced 2018-01-10 21:33:46 +00:00

organise-photos: Fix error in month calculation

This commit is contained in:
Starbeamrainbowlabs 2017-09-22 14:29:35 +01:00
parent 970b51d269
commit 56e0520a15

View file

@ -60,7 +60,7 @@ handle_file() {
fi fi
fi fi
takenMonth=$(printf "%02d" "${takenMonth}"); #takenMonth=$(printf "%02d" "${takenMonth}");
newFolder="${takenYear}/${takenMonth}-${takenMonthText}/"; newFolder="${takenYear}/${takenMonth}-${takenMonthText}/";
newFilename="${newFolder}/${filename}"; newFilename="${newFolder}/${filename}";