Take a look at the ipfs object command. Here’s an example of adding files and folders in IPFS to an existing directory.
ipfs object