Error: You must supply the first argument as a directory!
#########################################################
Usage: /Users/USERNAME/Desktop/runEpub.sh {1 2}
Usage: /Users/USERNAME/Desktop/runEpub.sh {Exportfolder debug-log}
Usage: example /Users/USERNAME/Desktop/runEpub.sh {/Users/USERNAME/Documents/Exportfolder /Users/USERNAME/Destktop//Users/USERNAME/Desktop/runEpub.sh/debug.log}
This script will read the iTunes books from /Users/USERNAME/Library/Containers/com.apple.BKAgentService/Data/Documents/iBooks/Books
#########################################################
runEpub.sh and the folder "convertediBooks"already exist on the desktop. Terminal is in the desktop directory. Atleast I believe it is, the text that sits before you type your command is MacBook-Pro:desktop USERNAME$
Thank you for the prompt response. Unfortunately, doing it as
bash /Users/ USERNAME/ Desktop/ runEpub. sh /home/USERNAME/ Desktop/ convertediBooks /home/USERNAME/ Desktop/ runEpub. log
Still results in
Error: You must supply the first argument as a directory! ####### ####### ####### ####### ####### ####### ####### # USERNAME/ Desktop/ runEpub. sh {1 2} USERNAME/ Desktop/ runEpub. sh {Exportfolder debug-log} USERNAME/ Desktop/ runEpub. sh {/Users/ USERNAME/ Documents/ Exportfolder /Users/ USERNAME/ Destktop/ /Users/ USERNAME/ Desktop/ runEpub. sh/debug. log}
#######
Usage: /Users/
Usage: /Users/
Usage: example /Users/
This script will read the iTunes books from /Users/ USERNAME/ Library/ Containers/ com.apple. BKAgentService/ Data/Documents/ iBooks/ Books ####### ####### ####### ####### ####### ####### ####### #
#######
runEpub.sh and the folder "convertediBook s"already exist on the desktop. Terminal is in the desktop directory. Atleast I believe it is, the text that sits before you type your command is MacBook-Pro:desktop USERNAME$