How can I use GNU's coreutils
split command to split a large file into pieces of L number of lines each, but putting each of the different subfiles into different directories at the same time they are created?
Right now I have a perl script that creates a hierarchy of directories starting from
./99/99/99 and doing perl prints of each line into subfiles in the script, but it's much slower than GNU's split command would do, creating all the subfiles in one directory. I would like to have them in the hierarchy of directories since it makes things more manageable for me later on.