[LEFT]Hi All,
I want to copy all the contents of a list of files in a folder to a particular file. i am using following command:
cat dir/* >> newFile.txt
It's not working.
Could you please help?
Thanks,
Pranav
[/LEFT]
[LEFT]Hi All,
I want to copy all the contents of a list of files in a folder to a particular file. i am using following command:
cat dir/* >> newFile.txt
It's not working.
Could you please help?
Thanks,
Pranav
[/LEFT]
Now it would try to attempt to cat dir/newFile.txt
as well..
I guess this would be solved if you are having that newFile.txt in some other directory
I have placed the newFile in a different directory.
is it working now???
btw, your command now have to be cat dir/* >> somedir/newFile.txt