encfs/vendor/github.com/muflihun/easyloggingpp/samples/Qt/file-splitter-joiner/README.md
Valient Gough 5f0806c5cc Add "easylogging" from "https://github.com/muflihun/easyloggingpp@master"
git-vendor-name: easylogging
git-vendor-dir: vendor/github.com/muflihun/easyloggingpp
git-vendor-repository: https://github.com/muflihun/easyloggingpp
git-vendor-ref: master
2017-08-05 23:23:41 -07:00

1.1 KiB

File splitter/joiner sample

About

This is multi-threaded application that uses threads in order to split/merge part/s. The idea is not to show how to use threading in Qt, in fact, I might have done it wrong (this document can be helpful to make thread-use better), the idea behind this sample is to show you a possible usage of Easylogging++ is fairly large scale i.e, multiple files project using multi-threading.

Usage

Once you successfully compile the project using minimum of Qt 4.6.2, you can use this in two ways;

  • Using command-line

    Split: ./file-splitter-joiner split [source_file] [total_parts] [destination_dir]

    Join: ./file-splitter-joiner join [destination_file] [parts...]

  • Using GUI

     When you don't provide enough parameters, a GUI based program will be launched
    

Screen Shots

Splitter

Joiner