diff --git a/idd.sh b/idd.sh index cbd89b9..8801610 100755 --- a/idd.sh +++ b/idd.sh @@ -3,6 +3,7 @@ # Paths MOUNTPATH="/mnt/mediadrive" DEVICEDIR="/dev" +HOMEDIR="/home" # Colors RED='\033[0;31m' @@ -73,10 +74,10 @@ case "$1" in printf "${LCYAN}idd - interactive dd${NC}\n" printf "${LPURPLE}********************************${NC}\n" echo - printf "${LGREEN}Image files (img, iso) in ${HOME}${NC}\n" + printf "${LGREEN}Image files (img, iso) in ${HOMEDIR}${NC}\n" printf "${LBLUE}-------------------------------------------${NC}\n" - find ${HOME} -regex ".*\.\(img\|iso\)" | grep [.iso,.img] + find ${HOMEDIR} -regex ".*\.\(img\|iso\)" | grep [.iso,.img] if [ ! $? = 0 ];then printf "${LRED}No image files found${NC}\n" fi