diff --git a/scripts/split-text-files-in-parts.sh b/scripts/split-text-files-in-parts.sh new file mode 100644 index 0000000..7e4fc7b --- /dev/null +++ b/scripts/split-text-files-in-parts.sh @@ -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." \ No newline at end of file