A friend of mine said that I could use this pice of code to copy files from one location to another and have it also output an error log
SOURCEDIR="/Volumes/FreeAgent GoFlex Drive/Anime"
DESTDIR="/Volumes/5TB FreeAgent GoFlex Drive/Anime"
for d in "${SOURCEDIR}/"*; do echo 'copying `basename "${d}"`';cp -r "${d}" "${DESTDIR}/`basename ${d}`" 2> err.log; done
The original line of code he gave me, that I was going to used before I asked if he could have it output the errors to a log, was`` SOURCEDIR="/Volumes/FreeAgent GoFlex Drive/Anime" DESTDIR="/Volumes/5TB FreeAgent GoFlex Drive/Anime" for d in "${SOURCEDIR}/"*; do echo "copying basename "${d}"`"; cp -r "${d}" "${DESTDIR}"; done