Add text file splitter script

This commit is contained in:
Marcel Schwarz 2023-07-24 09:40:35 +02:00
parent 1cf58ce80f
commit 3a8b9d0074

View File

@ -0,0 +1,4 @@
#!/bin/bash
# split all files in current dir in 20 even sized parts -> only works for text files
for filename in *; do
split -n l/20 -d "$filename" "$filename."