{"id":27044015,"url":"https://github.com/dubasdey/file-splitter","last_synced_at":"2025-04-05T05:17:55.415Z","repository":{"id":84560217,"uuid":"42930943","full_name":"dubasdey/File-Splitter","owner":"dubasdey","description":"File splitter tool. Split files by size or number of lines.","archived":false,"fork":false,"pushed_at":"2024-06-02T16:05:25.000Z","size":242,"stargazers_count":89,"open_issues_count":5,"forks_count":33,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-04-05T05:17:50.533Z","etag":null,"topics":["c-sharp","split","split-files","splitter","tool","windows"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dubasdey.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.txt","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2015-09-22T11:57:43.000Z","updated_at":"2025-03-19T15:51:43.000Z","dependencies_parsed_at":"2023-03-02T05:30:57.085Z","dependency_job_id":null,"html_url":"https://github.com/dubasdey/File-Splitter","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dubasdey%2FFile-Splitter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dubasdey%2FFile-Splitter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dubasdey%2FFile-Splitter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dubasdey%2FFile-Splitter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dubasdey","download_url":"https://codeload.github.com/dubasdey/File-Splitter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247289436,"owners_count":20914464,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c-sharp","split","split-files","splitter","tool","windows"],"created_at":"2025-04-05T05:17:54.880Z","updated_at":"2025-04-05T05:17:55.408Z","avatar_url":"https://github.com/dubasdey.png","language":"C#","funding_links":["https://www.paypal.com/donate/?hosted_button_id=K6DQ5GLE8KHGY"],"categories":[],"sub_categories":[],"readme":"# File-Splitter\n-----------------------------------------------------------------------------------------\n\n[![SourceForge](https://img.shields.io/sourceforge/dt/sevenzip.svg)](https://sourceforge.net/projects/fsplit/files/latest/download)\n![LGPLv3](https://img.shields.io/badge/Licence-LGPLv3-green.svg)\n[![Build Status](https://travis-ci.org/dubasdey/File-Splitter.svg?branch=master)](https://travis-ci.org/dubasdey/File-Splitter)\n\n\n## Information\n-----------------------------------------------------------------------------------------\n\nA Windows and Console based utility to split large files into smaller parts.\n\nBoth the Windows and console versions share the same core library of code.\nBoth versions are independent of each other (ie the Window version does not to gather all the\nparameters and then pass them to the batch program).\n\nThe split files retain the original extension if not custom format is used.  \nThe current part number and the total partnumbers are inserted in the format \"_XX(YY)\", \nwhere XX is the current part number, and YY is the total number of parts.\nThis format can be changed by parameter.\n\nexample:\n\tsplitting console.log into 3 parts generates\n\n\tconsole_1(3).log\n\tconsole_2(3).log\n\tconsole_3(3).log\n\n## Installation\n-----------------------------------------------------------------------------------------\n\n### 1.- Requirements\n-----------------------------------------------------------------------------------------\n\n_.NET Framework 3.5_ or newer version is required to execute this tool if is not preinstalled with your OS\n\nWindows 7, 8 and 10 contains a valid .NET Framework already installed. For previous Windows releases \nplease go to microsoft update site and installa a valid .NET Framework\n\n### 2.- Download\n-----------------------------------------------------------------------------------------\n\nDownload the last release from [GitHub Relases](https://github.com/dubasdey/File-Splitter/releases) or \nfrom SourceForge. \n\nSourceForge downloads may not be up-to-date with the latest version of GitHub.\n\n### 3.- Install\n-----------------------------------------------------------------------------------------\n\nThis tool only required to download and unzip the content to use the executable inside. No installer\nis provided\n\n\n## Languages\n-----------------------------------------------------------------------------------------\nThe graphical interface uses the user desktop language if it is available.\n\nThe current available languages are:\n- Spanish\n- English\n- French\n\n\n\n## How To Use\t\n-----------------------------------------------------------------------------------------\n\n### Split\n\n\nCommand line usage:\n```\nfsplit -split \u003csize\u003e \u003cunit\u003e \u003cfilePath\u003e [-d] [-f \u003cformat\u003e] [-df \u003cfolder\u003e] [-lf \u003cfile\u003e]\"\n```\n\nParameters:\n* -h or -?\n\tShows usage help\t\n\n* -split \u003csize\u003e \u003cunit\u003e \u003cfilePath\u003e\n\t* Splits the File into parts with this options\n\t\t* size\t\n\t\t\t* Size of parts in \"unit\"\n\t\t* unit\t\n\t\t\t* unit used for the desired size. Units:\n\t\t\t\t* 'b'  bytes  \n\t\t\t\t* 'kb' Kilobytes \n\t\t\t\t* 'mb' Megabytes \n\t\t\t\t* 'gb' Gigabytes \n\t\t\t\t* 'l'  number of lines (usig OS line end detection)\n\t\t\t\t* 'f'  number of files (Splits file size rouding up and use the result as 'bytes' size split)\n\t\t* filePath\t\n\t\t\t* Path of file to be split ex: \"C:\\console\\console.log\"\n\t* -d \n\t\t* Delete the original file after the split is done correctly.\n\t* -f \u003cformat\u003e\n\t\t* Uses a custom format for the file names. Using a custom format is required to add an extension\n\t\tThe text {0} is replaced with the current part number.  \n\t\tThe text {1} is replaced with the total number of parts expected.  \n\t\tThe format inputs accepts parameters to adapt it to the desired funcionality.  \n\t\tFor you could specify a padding of **n** positions adding **,n**.  \n\t\tExample of 5 chars padding **{0,5}** with right align or **{0,-5}** to left align.    \n\t\tAlso you could specify a numeric filling usin # and 0 after :  \n\t\tExamples for the file number 15:    \n\t\t\tFilling with five 0: **{0:00000}** this result in **'00015'**.  \n\t\t\tFilling with two and two 0 with - : **{0:00-00}** this result in **'00-15'**.  \n\t\t\tFilling with three 0 in six positions aligned left **{0,6:000}** this result in **'015   '**  \n\t* -df \u003cfolder\u003e\n\t\t* Changes the result folder from current folder to the desired folder. The folder is created if not exists.\n\t* -lf \u003cfile\u003e\n\t\t* Creates a file with the names of all the generated files \n    * -fe \u003cenc\u003e\n\t    * Changes the resulting file encoding. Use any valid encodig name or UTF-8-BOM to force UTF-8 \n\t\twith byte mark order or UTF-8-NOBOM to force UTF-8 file without byte mark order.\n\t\tThis flag is only used when splitting by lines. Split by size produces binary files.\n\n\nExample: \n\n\tfSplit -split 10230 kb c:\\console\\console.log   \n\nWARNING: Cutting by file size currently cuts lines in half. To keep lines together use the option to split by line numbers, eg:\n\n\tfSplit -split 100000 l c:\\console\\console.log   \n\n\n* Note 1: you can't use commas as delimiters\n* Note 2: if you call the program from the console without parameters, it invokes the Windows version.\n\n### Join\n\nIt's possible to merge again the files using the command line with the \"copy\" command  \nFor example if you have splitted a text file into two parts \"p1.txt\" and \"p2.txt\" with \"copy /A p1.txt+p2.txt all.txt\" it's possible to merge p1 and p2 in a new file called all.txt  \nIf the files are ASCII use /A flag and if the files are binary use the /B flag to ensure that the content is correctly joined.  \nTake careful to put all files in the correct order.  \n\n## Donate\n-----------------------------------------------------------------------------------------\nBuy me a coffe to help me continue supporting this project. \n\u003ca href=\"https://www.paypal.com/donate/?hosted_button_id=K6DQ5GLE8KHGY\"\u003eBuy me a coffe\u003c/a\u003e\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdubasdey%2Ffile-splitter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdubasdey%2Ffile-splitter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdubasdey%2Ffile-splitter/lists"}