C:\Users\Toby\Desktop\arozdfs>arozdfs help
[arozdfs - Distributed File Storage Management Tool for ArOZ Online Cloud System]
        This is a command line tool build for the ArOZ Online distributed cloud platform file chunking and redundant data storage.
        Please refer to the ArOZ Online Documentaion for more information.

Supported commands:
        help --> show all the help information

        [Uploading to arozdfs commands]
        slice
        -infile <filename> --> declare the input file
        -slice <filesize> --> declare the slicing filesize
        -storepath <pathname> (Optional) --> Relative path for storing the sliced chunk files, default ./{file-uuid}

        upload
        -storepath <pathname> --> The location where the file chunks are stored
        -uuid <file uuid> --> uuid of the file to be uploaded
        -vdir <file.index> --> where the file.index should be stored. (Use for file / folder navigation)
        -push <remoteDisks.config> (Optional) --> push to a list of clusters and sync file index to other clusters, default ./remoteDisks.config

        [Download from arozdfs commands]
        download
        -vdir <file.index> --> file.index location
        -storepath <tmp directory> (Optional) --> define a special directory for caching the downloaded data chunks, default ./tmp

        open
        -uuid <file uuid> --> the uuid which the file is stored
        -outfile <filename> --> filepath for the exported and merged file
        -storepath <tmp directory> (Optional)--> the file chunks tmp folder, default ./tmp
        -c (Optional) --> remove all stored file chunks after merging the file chunks.

        [File Operations]
        remove <file.index> --> remove all chunks related to this file index
        rename <file.index> <newfile.index> --> rename all records related to this file
        move <filepath/file.index> <newpath/file.index> --> move the file to a new path in index directory


        [System checking commands]
        checkfile <file.index> --> check if a file contains all chunks which has at least two copies of each chunks
        rebuild --> Check all files on the system and fix all chunks which has corrupted
        migrate <remoteDisks.config> --> Move all chunks from this host to other servers in the list.

C:\Users\Toby\Desktop\arozdfs>arozdfs slice -infile "uploads/test.mp4" -storepath "test" -slice 4
test/ uploads/test.mp4 4 aad94a0e-813d-4cbf-a664-f276b7051bdd
Splitting to 31 pieces.
Split to :  chunks/test/aad94a0e-813d-4cbf-a664-f276b7051bdd_00
Split to :  chunks/test/aad94a0e-813d-4cbf-a664-f276b7051bdd_01
Split to :  chunks/test/aad94a0e-813d-4cbf-a664-f276b7051bdd_02
Split to :  chunks/test/aad94a0e-813d-4cbf-a664-f276b7051bdd_03
Split to :  chunks/test/aad94a0e-813d-4cbf-a664-f276b7051bdd_04
Split to :  chunks/test/aad94a0e-813d-4cbf-a664-f276b7051bdd_05
Split to :  chunks/test/aad94a0e-813d-4cbf-a664-f276b7051bdd_06
Split to :  chunks/test/aad94a0e-813d-4cbf-a664-f276b7051bdd_07
Split to :  chunks/test/aad94a0e-813d-4cbf-a664-f276b7051bdd_08
Split to :  chunks/test/aad94a0e-813d-4cbf-a664-f276b7051bdd_09
Split to :  chunks/test/aad94a0e-813d-4cbf-a664-f276b7051bdd_10
Split to :  chunks/test/aad94a0e-813d-4cbf-a664-f276b7051bdd_11
Split to :  chunks/test/aad94a0e-813d-4cbf-a664-f276b7051bdd_12
Split to :  chunks/test/aad94a0e-813d-4cbf-a664-f276b7051bdd_13
Split to :  chunks/test/aad94a0e-813d-4cbf-a664-f276b7051bdd_14
Split to :  chunks/test/aad94a0e-813d-4cbf-a664-f276b7051bdd_15
Split to :  chunks/test/aad94a0e-813d-4cbf-a664-f276b7051bdd_16
Split to :  chunks/test/aad94a0e-813d-4cbf-a664-f276b7051bdd_17
Split to :  chunks/test/aad94a0e-813d-4cbf-a664-f276b7051bdd_18
Split to :  chunks/test/aad94a0e-813d-4cbf-a664-f276b7051bdd_19
Split to :  chunks/test/aad94a0e-813d-4cbf-a664-f276b7051bdd_20
Split to :  chunks/test/aad94a0e-813d-4cbf-a664-f276b7051bdd_21
Split to :  chunks/test/aad94a0e-813d-4cbf-a664-f276b7051bdd_22
Split to :  chunks/test/aad94a0e-813d-4cbf-a664-f276b7051bdd_23
Split to :  chunks/test/aad94a0e-813d-4cbf-a664-f276b7051bdd_24
Split to :  chunks/test/aad94a0e-813d-4cbf-a664-f276b7051bdd_25
Split to :  chunks/test/aad94a0e-813d-4cbf-a664-f276b7051bdd_26
Split to :  chunks/test/aad94a0e-813d-4cbf-a664-f276b7051bdd_27
Split to :  chunks/test/aad94a0e-813d-4cbf-a664-f276b7051bdd_28
Split to :  chunks/test/aad94a0e-813d-4cbf-a664-f276b7051bdd_29
Split to :  chunks/test/aad94a0e-813d-4cbf-a664-f276b7051bdd_30
aad94a0e-813d-4cbf-a664-f276b7051bdd

C:\Users\Toby\Desktop\arozdfs>arozdfs upload -storepath "chunks/test" -uuid "aad94a0e-813d-4cbf-a664-f276b7051bdd" -vdir "test.mp4"
[http://192.168.0.107:8080/private/AOB/]
[OK] chunks\test\aad94a0e-813d-4cbf-a664-f276b7051bdd_00 uploaded.
[OK] chunks\test\aad94a0e-813d-4cbf-a664-f276b7051bdd_01 uploaded.
[OK] chunks\test\aad94a0e-813d-4cbf-a664-f276b7051bdd_02 uploaded.
[OK] chunks\test\aad94a0e-813d-4cbf-a664-f276b7051bdd_03 uploaded.
[OK] chunks\test\aad94a0e-813d-4cbf-a664-f276b7051bdd_04 uploaded.
[OK] chunks\test\aad94a0e-813d-4cbf-a664-f276b7051bdd_05 uploaded.
[OK] chunks\test\aad94a0e-813d-4cbf-a664-f276b7051bdd_06 uploaded.
[OK] chunks\test\aad94a0e-813d-4cbf-a664-f276b7051bdd_07 uploaded.
[OK] chunks\test\aad94a0e-813d-4cbf-a664-f276b7051bdd_08 uploaded.
[OK] chunks\test\aad94a0e-813d-4cbf-a664-f276b7051bdd_09 uploaded.
[OK] chunks\test\aad94a0e-813d-4cbf-a664-f276b7051bdd_10 uploaded.
[OK] chunks\test\aad94a0e-813d-4cbf-a664-f276b7051bdd_11 uploaded.
[OK] chunks\test\aad94a0e-813d-4cbf-a664-f276b7051bdd_12 uploaded.
[OK] chunks\test\aad94a0e-813d-4cbf-a664-f276b7051bdd_13 uploaded.
[OK] chunks\test\aad94a0e-813d-4cbf-a664-f276b7051bdd_14 uploaded.
[OK] chunks\test\aad94a0e-813d-4cbf-a664-f276b7051bdd_15 uploaded.
[OK] chunks\test\aad94a0e-813d-4cbf-a664-f276b7051bdd_16 uploaded.
[OK] chunks\test\aad94a0e-813d-4cbf-a664-f276b7051bdd_17 uploaded.
[OK] chunks\test\aad94a0e-813d-4cbf-a664-f276b7051bdd_18 uploaded.
[OK] chunks\test\aad94a0e-813d-4cbf-a664-f276b7051bdd_19 uploaded.
[OK] chunks\test\aad94a0e-813d-4cbf-a664-f276b7051bdd_20 uploaded.
[OK] chunks\test\aad94a0e-813d-4cbf-a664-f276b7051bdd_21 uploaded.
[OK] chunks\test\aad94a0e-813d-4cbf-a664-f276b7051bdd_22 uploaded.
[OK] chunks\test\aad94a0e-813d-4cbf-a664-f276b7051bdd_23 uploaded.
[OK] chunks\test\aad94a0e-813d-4cbf-a664-f276b7051bdd_24 uploaded.
[OK] chunks\test\aad94a0e-813d-4cbf-a664-f276b7051bdd_25 uploaded.
[OK] chunks\test\aad94a0e-813d-4cbf-a664-f276b7051bdd_26 uploaded.
[OK] chunks\test\aad94a0e-813d-4cbf-a664-f276b7051bdd_27 uploaded.
[OK] chunks\test\aad94a0e-813d-4cbf-a664-f276b7051bdd_28 uploaded.
[OK] chunks\test\aad94a0e-813d-4cbf-a664-f276b7051bdd_29 uploaded.
[OK] chunks\test\aad94a0e-813d-4cbf-a664-f276b7051bdd_30 uploaded.
[OK] All chunks uploaded.

C:\Users\Toby\Desktop\arozdfs>arozdfs download -vdir "test.mp4"
[aad94a0e-813d-4cbf-a664-f276b7051bdd_00 aad94a0e-813d-4cbf-a664-f276b7051bdd_01 aad94a0e-813d-4cbf-a664-f276b7051bdd_02 aad94a0e-813d-4cbf-a664-f276b7051bdd_03 aad94a0e-813d-4cbf-a664-f276b7051bdd_04 aad94a0e-813d-4cbf-a664-f276b7051bdd_05 aad94a0e-813d-4cbf-a664-f276b7051bdd_06 aad94a0e-813d-4cbf-a664-f276b7051bdd_07 aad94a0e-813d-4cbf-a664-f276b7051bdd_08 aad94a0e-813d-4cbf-a664-f276b7051bdd_09 aad94a0e-813d-4cbf-a664-f276b7051bdd_10 aad94a0e-813d-4cbf-a664-f276b7051bdd_11 aad94a0e-813d-4cbf-a664-f276b7051bdd_12 aad94a0e-813d-4cbf-a664-f276b7051bdd_13 aad94a0e-813d-4cbf-a664-f276b7051bdd_14 aad94a0e-813d-4cbf-a664-f276b7051bdd_15 aad94a0e-813d-4cbf-a664-f276b7051bdd_16 aad94a0e-813d-4cbf-a664-f276b7051bdd_17 aad94a0e-813d-4cbf-a664-f276b7051bdd_18 aad94a0e-813d-4cbf-a664-f276b7051bdd_19 aad94a0e-813d-4cbf-a664-f276b7051bdd_20 aad94a0e-813d-4cbf-a664-f276b7051bdd_21 aad94a0e-813d-4cbf-a664-f276b7051bdd_22 aad94a0e-813d-4cbf-a664-f276b7051bdd_23 aad94a0e-813d-4cbf-a664-f276b7051bdd_24 aad94a0e-813d-4cbf-a664-f276b7051bdd_25 aad94a0e-813d-4cbf-a664-f276b7051bdd_26 aad94a0e-813d-4cbf-a664-f276b7051bdd_27 aad94a0e-813d-4cbf-a664-f276b7051bdd_28 aad94a0e-813d-4cbf-a664-f276b7051bdd_29 aad94a0e-813d-4cbf-a664-f276b7051bdd_30]
[http://192.168.0.107:8080/private/AOB/ http://192.168.0.107:8080/private/AOB/ http://192.168.0.107:8080/private/AOB/ http://192.168.0.107:8080/private/AOB/ http://192.168.0.107:8080/private/AOB/ http://192.168.0.107:8080/private/AOB/ http://192.168.0.107:8080/private/AOB/ http://192.168.0.107:8080/private/AOB/ http://192.168.0.107:8080/private/AOB/ http://192.168.0.107:8080/private/AOB/ http://192.168.0.107:8080/private/AOB/ http://192.168.0.107:8080/private/AOB/ http://192.168.0.107:8080/private/AOB/ http://192.168.0.107:8080/private/AOB/ http://192.168.0.107:8080/private/AOB/ http://192.168.0.107:8080/private/AOB/ http://192.168.0.107:8080/private/AOB/ http://192.168.0.107:8080/private/AOB/ http://192.168.0.107:8080/private/AOB/ http://192.168.0.107:8080/private/AOB/ http://192.168.0.107:8080/private/AOB/ http://192.168.0.107:8080/private/AOB/ http://192.168.0.107:8080/private/AOB/ http://192.168.0.107:8080/private/AOB/ http://192.168.0.107:8080/private/AOB/ http://192.168.0.107:8080/private/AOB/ http://192.168.0.107:8080/private/AOB/ http://192.168.0.107:8080/private/AOB/ http://192.168.0.107:8080/private/AOB/ http://192.168.0.107:8080/private/AOB/ http://192.168.0.107:8080/private/AOB/]
[OK] aad94a0e-813d-4cbf-a664-f276b7051bdd_26
[OK] aad94a0e-813d-4cbf-a664-f276b7051bdd_08
[OK] aad94a0e-813d-4cbf-a664-f276b7051bdd_03
[OK] aad94a0e-813d-4cbf-a664-f276b7051bdd_29
[OK] aad94a0e-813d-4cbf-a664-f276b7051bdd_18
[OK] aad94a0e-813d-4cbf-a664-f276b7051bdd_05
[OK] aad94a0e-813d-4cbf-a664-f276b7051bdd_23
[OK] aad94a0e-813d-4cbf-a664-f276b7051bdd_14
[OK] aad94a0e-813d-4cbf-a664-f276b7051bdd_16
[OK] aad94a0e-813d-4cbf-a664-f276b7051bdd_19
[OK] aad94a0e-813d-4cbf-a664-f276b7051bdd_10
[OK] aad94a0e-813d-4cbf-a664-f276b7051bdd_25
[OK] aad94a0e-813d-4cbf-a664-f276b7051bdd_21
[OK] aad94a0e-813d-4cbf-a664-f276b7051bdd_30
[OK] aad94a0e-813d-4cbf-a664-f276b7051bdd_15
[OK] aad94a0e-813d-4cbf-a664-f276b7051bdd_09
[OK] aad94a0e-813d-4cbf-a664-f276b7051bdd_01
[OK] aad94a0e-813d-4cbf-a664-f276b7051bdd_20
[OK] aad94a0e-813d-4cbf-a664-f276b7051bdd_11
[OK] aad94a0e-813d-4cbf-a664-f276b7051bdd_24
[OK] aad94a0e-813d-4cbf-a664-f276b7051bdd_07
[OK] aad94a0e-813d-4cbf-a664-f276b7051bdd_06
[OK] aad94a0e-813d-4cbf-a664-f276b7051bdd_22
[OK] aad94a0e-813d-4cbf-a664-f276b7051bdd_12
[OK] aad94a0e-813d-4cbf-a664-f276b7051bdd_04
[OK] aad94a0e-813d-4cbf-a664-f276b7051bdd_00
[OK] aad94a0e-813d-4cbf-a664-f276b7051bdd_27
[OK] aad94a0e-813d-4cbf-a664-f276b7051bdd_13
[OK] aad94a0e-813d-4cbf-a664-f276b7051bdd_17
[OK] aad94a0e-813d-4cbf-a664-f276b7051bdd_02
[OK] aad94a0e-813d-4cbf-a664-f276b7051bdd_28
[OK] All chunks downloaded

C:\Users\Toby\Desktop\arozdfs>arozdfs open -uuid aad94a0e-813d-4cbf-a664-f276b7051bdd -outfile tmp/merged.mp4 -c
tmp/ aad94a0e-813d-4cbf-a664-f276b7051bdd tmp/merged.mp4