Home > Questions

Can't split files in Mac Terminal: No such file or directory

A 7GB file needs to be divided into smaller files with 1,000,000 records. But I keep receiving the error "No such file or directory." I can locate the file when I use the Find command. What is going on is unknown to me. I would be grateful for any advice or assistance. I'm grateful in advance.

Best Answered by

iBoysoft author Henrique Vieira

Henrique Vieira

Answered on Monday, April 29, 2024

It seems that you have typed a wrong command in Terminal so it returns the error message no such file or directory. The man page states that the split command does not have a documented switch for -1. Here, the lowercase L switch -l will most likely function better. 

Type the correct command to try to split the large file again. Replace the byte or line count and the file name in the following command.

split [-b byte_count[k|m]] [-l line_count] [file [name]]

 

People Also Ask

Read More Questions

Read More Advice From iBoysoft's Computer Experts

Fix the error Unable to write to the last block of the device on Mac

Fix 'Unable to write to the last block of the device' 69760

Getting 'Unable to write to the last block of the device.: (-69760).' on Mac when erasing or partitioning your internal or external drive? Read on to learn the solutions.

How to Tips

symlink mac

Symlink on Mac: What It Is And How to Create/Delete It

This post walk you through all you need to know about the symlink on Mac. After reading, you will know what the symlink is on Mac and how to create and delete a symlink on Mac.

Wiki Tips

O processo loginwindow no Mac

O que é o Loginwindow no Mac | Corrigir o alto uso de CPU/Memória do Loginwindow

Você está se perguntando o que é o loginwindow? Obtenha suas respostas aqui e aprenda como corrigir problemas de alto uso de CPU/memória/energia do loginwindow e o que fazer se o loginwindow parar inesperadamente.