B balanga Feb 8, 2017 #1 How do I input a pkgname to pkg from a file? I've tried:- cat temp | pkg install - pkg install <temp ???
How do I input a pkgname to pkg from a file? I've tried:- cat temp | pkg install - pkg install <temp ???
SirDice Administrator Staff member Administrator Moderator Feb 8, 2017 #3 tobik said: xargs pkg install < temp Click to expand... xargs(1) is such a handy tool for situations like this
tobik said: xargs pkg install < temp Click to expand... xargs(1) is such a handy tool for situations like this
OP B balanga Feb 8, 2017 Thread Starter #4 tobik said: xargs pkg install < temp Click to expand... Nice to know about xargs...... but how do I confirm that I want to proceed with this action which needs 'y' to be entered?
tobik said: xargs pkg install < temp Click to expand... Nice to know about xargs...... but how do I confirm that I want to proceed with this action which needs 'y' to be entered?
SirDice Administrator Staff member Administrator Moderator Feb 8, 2017 #5 env ASSUME_ALWAYS_YES=true pkg install -y <packagename>