User Tools

Site Tools


bash

batch a command

first create a txt file with all the arguments

cat list.txt | while read line; do "ebook-convert" "$line" "$line.pdf" ; done

split csv

cat bigFile.csv | parallel --header : --pipe -N999 'cat >split_file_{#}.csv'
bash.txt · Last modified: 2023/07/09 09:43 by glebelg