ivandokov / phockup

Media sorting tool to organize photos and videos from your camera in folders by year, month and day.
MIT License
856 stars 108 forks source link

Add option not to create empty destination folders #228

Open James-Oakley opened 10 months ago

James-Oakley commented 10 months ago

Currently, if there are no files with a particular date (because all the files are skipped, being the wrong type of file - image / video - or being outside the specified date range), the script creates an empty folder in the destination directory. In my use case, I shoot very few videos, but lots of images, and move them to different destinations. I don't need lots of empty date directories in the video destination folder, corresponding to the dates where there were images.

Would it be possible add a switch to delay the creation of a directory until the first file is going to be placed into it?