Copy with piped answer
|
On linux when copying many files you can pipe 'y' to answer all those annoying questions about overwriting existing files..
yes y | cp -i blah1/* blah2
or even just..
yes | cp -i blah1/* blah2
Or of course you could answer 'n' instead or anything else you want to pipe as the answer to any command or script you run..
yes boo | somecommand
|
Tags: linux copy |
|
|
Back