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, February 19, 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

Microsoft Word travando, fechando, congelando no macOS Sonoma

Corrigir travamentos do Microsoft Word após a atualização macOS Sonoma!

Alguns usuários estão enfrentando o problema de o Microsoft Word encerrar de forma inesperada, travar ou congelar, ficar travado ao iniciar ou não funcionar após a atualização macOS Sonoma. Este post mostra como corrigir isso

Fix Error 0x80070091 on Windows

[Warning] Error 0x80070091: The directory is not empty

'Error 0x80070091: The directory is not empty' prevents your computer from deleting folders. This post explains this error code and gives solutions to fix it.

How to Tips

7 Sinais Indicam Danos ou Falhas na Placa Lógica do Mac

7 Sinais Indicam que a Placa Lógica do Mac está Danificada ou com Falhas

Às vezes, sua máquina Mac se comporta de forma anormal e inadequada enquanto você fica perplexo sobre o que está acontecendo. Fique tranquilo, este artigo vai abordar seu problema oferecendo razões e soluções