Skip to content

Use Netcat and TAR to transfer files to hosts in the local network

License

Notifications You must be signed in to change notification settings

MedaiP90/TarDrop

Repository files navigation

TarDrop

Under the hood TarDrop implements the mechanism of file transfer via tar + netcat and combines it with auto-discovery of other hosts on the local network.

You can manually achieve the same results using the following commands:

# Receiver
nc -l -p [port_number] | tar -xz

# Sender
tar -czf - [files_list] | nc [remote_host] [remote_port]

Dependencies

For the application to run correctly your Linux system must have the following commands available:

  • tar: for packages compression
  • nc: for data transfer

Project setup

npm install

Compiles and hot-reloads for development

npm run electron:serve

Generate app icons

npm run electron:icons

Compiles and minifies for production

N.B.: the build process includes electron publish, a .env file with the GH_TOKEN environment variable set is required.

npm run electron:build -- --linux # Without publish
npm run electron:build -- --linux -p always # With GitHub publish

Customize configuration

See Configuration Reference.

Contributors

Contributors

Made with contrib.rocks.