H0llyW00dzZ
38f52057c3
Update README.md (#3)
- [+] docs(README): update installation instructions to include repository cloning command and change directory command Reviewed-on: #3 Co-authored-by: H0llyW00dzZ <h0llyw00dzz@pm.me> Co-committed-by: H0llyW00dzZ <h0llyw00dzz@pm.me>
split.sh - File Splitter Script
This script splits a large text file into smaller files with a specified number of lines. It's useful for managing large datasets or logs.
Usage
-
Clone the repository or download the script.
git clone https://git.b0zal.io/H0llyW00dzZ/split.sh.git
-
Make the script executable:
cd split.sh chmod +x split.sh
-
Run the script:
./split.sh
-
Follow the prompts:
- Enter the input file name (e.g.,
largefile.txt
). - Enter the number of lines per file (e.g.,
500000
).
- Enter the input file name (e.g.,
-
Output:
- The script will create files with a prefix
output_
followed by a suffix (e.g.,output_aa
,output_ab
, ...).
- The script will create files with a prefix
Requirements
- Bash shell
split
command available (usually pre-installed on Unix-like systems)
License
This project is licensed under the BSD 3-Clause License. See the LICENSE file for details.
Description
This script splits a large text file into smaller files with a specified number of lines. It's useful for managing large datasets or logs.
Languages
Shell
100%