Package: nfs-estepona
Naive File SplitterNaive File Splitter (NFS) is a simple CLI tool to split a file into several smaller chunks at data level and merge them back. It does not compress or transform the original file in any way. NFS only reads the file in binary stream and writes it into chunks whose number or size is given by the user.By having smaller chunks of a file instead of a large one, it allows easier and faster data download and upload, and bypasses file size limits inplaced by some cloud providers.NFS works withanyfile format.InstallNFS requiresPython >= 3.5.pip install nfs-esteponaUpon installation, a newnfsbinary will be added to system's path.CommandSplitUsagenfs split [OPTIONS] SRCSplit the file into several chunks by specifying EITHER:number of chunks with--chunkflagsize of each chunk with--size-per-chunkflag, and the number of chunks is calculated accordingly, i.e.5kb,10mb,1gbSRCis the filepath.Options:-c, --chunk,INTEGER, number of chunks to output-s, --size,TEXT, size of each chunkExampleSplit a file into 5 chunksnfs split -c 5 /mnt/c/Users/estep/Videos/Captures/mgs1.mp4$nfssplit-c5/mnt/c/Users/estep/Videos/Captures/mgs1.mp4100%|█████████████████████████████████████████████████████████████████████████████████████|5/5[00:00<00:00,37.28it/s]splitted/mnt/c/Users/estep/Videos/Captures/mgs1.mp4into5chunksSplit a file into chunks of 25MB eachnfs split -s 25mb /mnt/c/Users/estep/Videos/Captures/medium.webm$nfssplit-s25mb/mnt/c/Users/estep/Videos/Captures/medium.webm100%|███████████████████████████████████████████████████████████████████████████████████|18/18[00:08<00:00,2.00it/s]splitted/mnt/c/Users/estep/Videos/Captures/medium.webminto18chunksMergeUsagenfs merge [OPTIONS] SRCMerge NFS splitted file chunks into one.NFS splitted file chunks can be identified with.c1,.c2(etc.) appended to the end of original file's name (path).If multiple files that are splitted are found, user can choose which one to merge.If the original file exists under the same directory, a new file with_copyappended to the filename will be created.SRCis the directory path that contains (parent to) splitted file chunks.Options:-r, --remove, remove splitted file chunks after mergeExampleMerge splitted file chunks into onenfs merge /mnt/c/Users/estep/Videos/Captures$nfsmerge/mnt/c/Users/estep/Videos/Captures100%|█████████████████████████████████████████████████████████████████████████████████████|5/5[00:00<00:00,50.87it/s]mergedsplittedfilechunksto/mnt/c/Users/estep/Videos/Captures/mgs1_copy.mp4Merge splitted file chunks into one and remove chunksnfs merge -r /mnt/c/Users/estep/Videos/Captures$nfsmerge-r/mnt/c/Users/estep/Videos/Captures100%|█████████████████████████████████████████████████████████████████████████████████████|5/5[00:00<00:00,49.96it/s]mergedsplittedfilechunksto/mnt/c/Users/estep/Videos/Captures/mgs1_copy.mp4
removedsplittedfilechunksMerge splitted file chunks into one where chunks of other files existnfs merge /mnt/c/Users/estep/Videos/Captures$nfsmerge/mnt/c/Users/estep/Videos/Captures
found2splittedfilechunks,chooseonetoproceed:1-dup.mov2-mgs1.mp4
youranswer:2100%|█████████████████████████████████████████████████████████████████████████████████████|5/5[00:00<00:00,47.95it/s]mergedsplittedfilechunksto/mnt/c/Users/estep/Videos/Captures/mgs1_copy.mp4AuthorBinghuan Zhang-esteponawondering@gmail.comLICENSEMIT