I'm having trouble with a large text file (30GB)
I would like to create smaller files from it (5GB lets say)
But sadly I don't have no more storage (only ~10G is available).
split -b 5g "file.txt" "file.txt."
Leaves the original file in place, meaning I will end up with 60 GB in total. Which is more than I actually have free left in my pc.
How could I run a code that does the same, while not keeping the original file?