<commit_before>#!/bin/bash

mp3_convert(){
	for fname in *.m4a ; do
		ffmpeg -i "$fname" -c:a libmp3lame -b:a 320k "${fname%.*}.mp3"
	done
}

if [[ -e "${fname%.*}.mp3" ]] ; then
	echo "'${fname%.*}.mp3' already exists!"
	echo "Do you want to overwite it? [y/n]"
	
	read response
	if [[ $response == "y" ]] ; then
		mp3_convert
	else
		exit 0
	fi
fi

if [[ -e "$fname" ]] ; then
	echo "Do you want to delete the originals? [y/n]"
	read response<commit_msg>modified:   MP3_convert.sh<commit_after>#!/bin/bash

mp3_convert(){
	for fname in *.m4a ; do
		ffmpeg -i "$fname" -c:a libmp3lame -b:a 320k "${fname%.*}.mp3"
	done
}

if [[ -e "${fname%.*}.mp3" ]] ; then
	echo "'${fname%.*}.mp3' already exists!"
	echo "Do you want to overwite it? [y/n]"
	
	read response
	if [[ $response == "y" ]] ; then
		mp3_convert
	else
		exit 0
	fi
else
	echo "No m4a's found."
	exit 1
fi

if [[ -e "$fname" ]] ; then
	echo "Do you want to delete the originals? [y/n]"
	read response
{'fraction_non_alphanumeric': 0.19126819126819128, 'fraction_numerical': 0.02598752598752599, 'mean_word_length': 3.2052401746724892, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3044958', 'n_tokens_mistral': 450, 'n_tokens_neox': 419, 'n_words': 125}