Originally Posted by yumener
eg. find src_dir -name "*.txt" | cat > dest_file
the above does not work, the content of dest_file is
the path of the files,not the content of each file.
ok, I know my mistake now. I should run it as,
cat `find src_dir -name "*.txt"` > dest_file.
again, I got another problem, if the result of find is empty, then
the cat command will ask me to input in the terminal, how to