I basically do this:
export_something | split -b 1000
which splits export results into xaa, xab, xac file names of just 1000 bytes each
but I want my split output to be included in files with a specific prefix. Usually I just do this:
split -b <file> <prefix>
but there is no flag for the prefix when you connect to it. What I'm looking for is a way to do this:
export_something | split -b 1000 <output-from-pipe> <prefix>
Is it possible?
source share