Skip to content

re: What's your current favorite shell command? VIEW POST


split -l 7000 my_giant_json.json sub_files.json . It is far from being the command I use most, but recently it saved me during a data migration process. You can use it to split a file into several smaller chunks and then operate them.

It works like this: split -l (form number of lines) -b (for bytes) my_giant_json.json sub_files.json

code of conduct - report abuse