6

cp Command not finding files

view full story
linux-howto

http://www.unix.com – I am completely stumped. I am attempting to run the cp command in the following context: Code: cp '/home/spinner0205/directory/directory/*.log' '/home/spinner0205/otherdirectory/combined.txt' The "directory" contains anywhere from 5-50 something.log files. I want to copy the contents of these files and combine them into one file (combined.txt) in "otherdirectory". It immediately complains though that it cannot find any *.log file to copy. Code: cp: cannot stat `/home/spinner0205/directory/directory/*.log': No such file or directory If it makes any difference (HowTos)