0

find /home/scott/xyz -name ".log" -not -name 'access.log' -not -name 'server1.log'-exec cp -i {} /home/scott/zxc/. \;

I want to run this command but It doesn't seem to work for two files.How can I achieve this?

2
Contributors
2
Replies
17
Views
2 Years
Discussion Span
Last Post by sachin19
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.