Shell

Splitting folders with large file counts into smaller folders

Ever had a folder with 200000 files and needed to split them into smaller folders? If so, the following code can be executed within the directory from your command prompt (terminal) to split into n directories of 10000 files each:

Source: askubuntu.com

Docker & ElasticSearch

Whenever I try to start Elasticsearch within Docker on my Mac, I get the following error:

To fix this problem the following should be entered in terminal

 

Scroll to top