View Single Post
Old 04-24-2014, 12:01 PM   #11
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by Thalia Helikon View Post
how would the code be different in a Linux terminal?
Try this:
Code:
rm conversion.log
for file in $@; do

	echo "*******************************" >> conversion.log

	if $(kindlestrip "$file" "$file">> conversion.log); then
		echo "$file was successfully stripped!" >> conversion.log
	else 
		echo "$file was NOT stripped!" >> conversion.log
	fi
done

Last edited by eschwartz; 04-25-2014 at 06:21 PM.
eschwartz is offline   Reply With Quote