~josealberto4444/escrih-CD

56911c83705dd98abaae8cec01b9b37a0eb81ed6 — José Alberto Orejuela García 1 year, 8 months ago 8ed0ef4
Mueve mejor los archivos de whipper
1 files changed, 1 insertions(+), 7 deletions(-)

M escrih.sh
M escrih.sh => escrih.sh +1 -7
@@ 149,13 149,7 @@ clean_and_archive() {
	rm ./*.wav
	rm "$FOLDER"/*.flac
	create_new_folder "whipper" "$2"
	# The following glob patterns are chosen so that they can match all
	# files (including empty files) except . and ..
	for file in "$FOLDER"/* "$FOLDER"/.[!.]* "$FOLDER"/..?*; do
		if [ -e "$file" ]; then
			mv "$file" "$new_folder"
		fi
	done
	find "$FOLDER" -type f -exec mv {} "$new_folder" \;
	rmdir "$FOLDER"
	mv "$@" "$new_folder"
}