Share directory and files on http server on a go.
$ npm install file-share -g
After Installing the module, run following command in terminal to share files/directory :
$ file-share --port --path
- Provide port number, you want to use. Default port is 9000.
- Absolute path of directory, you want to share. Default path is current directory.
$ file-share --port 8080 --path /home/user
$ file-share --port=8080 --path=/home/user
$ file-share --port 8080
$ file-share --path /home/user
$ file-share