bash - What does this command Actually do? Is it correct? -
bash - What does this command Actually do? Is it correct? -
i found command line when checking bash script! question command , command correct?
find / -name "*.src" | xargs cp ~/desktop/log.txt
find files or directory .src
extension in /
, re-create file ~/desktop/log.txt
find result's filename
for illustration if output of find command
file.src directory1.src file2.src
xargs
command execute cp ~/desktop/log.txt file.src directory1.src file2.src
not create sense.
bash find command
Comments
Post a Comment