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

what is plist file

What Is a PLIST File and How to Open It on Mac?

An overview of the plist file, including what a plist file is, what a plist file is used for, and how to open a plist file on Mac and Windows.

Wiki Tips

como excluir partição no Mac

Como excluir partições no Mac/MacBook para liberar espaço

Esta postagem informa como excluir partições em um Mac com métodos passo a passo. Exclua uma partição no Mac sem perder dados.

Wie man Dateien auf dem Mac organisiert

Wie man Dateien auf dem Mac organisieren (12 bewährte Praktiken)

Über die Organisation von Dateien und Ordnern auf einem Mac mit 12 bewährten Praktiken, einschließlich der Organisation von Dateien in einem Ordner und auf dem Desktop.