1828236 Members
2555 Online
109975 Solutions
New Discussion

Find command !

 
SOLVED
Go to solution
Chapaya
Frequent Advisor

Find command !

Hello ,

I want to find a file and then to copy it to another destination ,
need help with syntax :

find /eran -name '*.log' -mtime +0 -exec cp /kuku {} \;

Eran .
2 REPLIES 2
Hai Nguyen_1
Honored Contributor
Solution

Re: Find command !

find /eran -name '*.log' -mtime +0 -exec cp {} /kuku \;

Hai
Simone Benzi_1
Frequent Advisor

Re: Find command !

Ciao Eran,

Try with:

find /eran -name 8.log -mtime+0 -exec {} /kuku \;

Simone