Add text file splitter script
This commit is contained in:
parent
1cf58ce80f
commit
3a8b9d0074
4
scripts/split-text-files-in-parts.sh
Normal file
4
scripts/split-text-files-in-parts.sh
Normal 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."
|
Loading…
Reference in New Issue
Block a user