This will create input.stl_01.stl, input.stl_02.stl etc. in the same directory.
This worked perfectly for me on a file created with OpenSCAD containing different parts that I wanted to print individually with Cura Lulzbot Edition. I found the info here.
You are free to use/change/distribute it in any way for any purpose. Attribution would be nice but is not mandatory.
The 3D model was made with OpenSCAD based on the instructions from Christopher J. Woodall. (The only difference is that I used meshlab to convert the OpenSCAD STL to binary instead of meshconv.)
Update 2020-12-05: the original post with the instructions is no longer online, but you can still find it here.