Importing a directory with multiple images only creates one image
According to the comments in import_directory.py importing a directory should lead to a single fileset containing all images in that directory. However only the first image appears in the dataset.
mkdir /tmp/x
touch /tmp/x/1.fake /tmp/x/2.fake
Set folder_path to /tmp/x and run the script.