xargs -o

I recently found out about the -o option for xargs ! From man xargs : -o, --open-tty Reopen stdin as /dev/tty in the child process before executing the command. This is useful if you want xargs to run an interactive application. If you don't do this, any commands that require input (even a confirmation prompt!) will fail when run with xargs. Specific use-case: I have a file called packages , and I…