What kind of SharePoint containers?
SharePoint can have a folder system in a document library that resembles the old fileshare. However, SharePoint is a modern platform that gives more and better possibilities, so we should try to think differently and not get stuck in old habits.

Avoid folders
The immidiate answer to the question on how to get files from a folder into SharePoint is perhaps to drag and drop or upload them to different folders in a document library. This is a tedious work if you have many files, but it is also a bad solution even for fewer files. The navigation becomes more difficult the more folders and subfolders you add, and the SharePoint search will work badly.

Better solutions
SharePoint gives better options than folders. You can use site collections or subsites, or a number of document libraries. In any case you should use tags and metadata. It requires some end user training and an agreement on what tags are needed, but in the long run it will make it much easier to find information.

You are welcome to download the scripts and use them with your own material. In the demo below I go through the two scripts and explain how the are written. The Tips article also gives a step by step instruction on the process.

By Peter Kalmstrom
CEO and Systems Designer
kalmstrom.com Business Solutions