I have a file name -HRCFTSIN05PLA1602100430444444
my requirement is to split the file in 10000 count each file and to add sequence number.rch at the end of each file.
output should be in this format
split -l 10000 -a 5 HRCFTSIN05PLA1602100430444444 splited_file
i=1
for file in splited_file*
do
mv $file HRCFTSIN05PLA1602100430444444_${i}.rch
i=$(( i + 1 ))
done