diff --git a/idd.sh b/idd.sh index cbf8795..0015042 100755 --- a/idd.sh +++ b/idd.sh @@ -127,7 +127,10 @@ case "$1" in echo printf "${LCYAN}Please wait ...${NC}\n" echo - pv -tpreb ${filepath} | dd bs=4M of=${DEVICEDIR}/${devname};sync + pv -tpreb ${filepath} | dd bs=4M of=${DEVICEDIR}/${devname} + echo + printf "${YELLOW}Syncing buffers...${NC}\n";sync + echo printf "${LGREEN}Done writing file${NC}\n" else echo "${0}: Please install 'pv' with your package manager" @@ -177,7 +180,10 @@ case "$1" in echo printf "${LCYAN}Please wait ...${NC}\n" echo - pv -tpreb ${filepath} | dd bs=4M of=${DEVICEDIR}/${devname};sync + pv -tpreb ${filepath} | dd bs=4M of=${DEVICEDIR}/${devname} + echo + printf "${YELLOW}Syncing buffers...${NC}\n";sync + echo printf "${LGREEN}Done writing file${NC}\n" else echo "${0}: pv command not found in /usr/bin"