Skip to content

Instantly share code, notes, and snippets.

@shnhrtkyk
Created December 27, 2019 18:46
Show Gist options
  • Save shnhrtkyk/21f080bd88fdd04de81ad687e06b905a to your computer and use it in GitHub Desktop.
Save shnhrtkyk/21f080bd88fdd04de81ad687e06b905a to your computer and use it in GitHub Desktop.
txtspliter.sh
for file in `\find . -name '*.txt'`; do
echo $file
echo ${file##*/}
cut -f1,2,3,4 -d";" $file > ../train_pointtxt/${file##*/}
cut -f5- -d";" $file > ../train_wavetxt/${file##*/}
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment