Copy Files Found By Find
From RZWiki
To copy the files found by the find command to somewhere else, use this command syntax;
find starting-directory -iname search-expression -exec cp {} destination-directory \;
Usage Examples
find /var/tmp -iname *.log -exec cp {} /logs \;
Related Articles
Information on other Linux commands
Information on F5 BigIP commands
Information on Cisco commands
Information on Vyatta commands
Information on Extreme commands
Information on Zebra commands
Information on Secure Platform commands
Information on Blue Coat SGOS commands
Information on Nokia IPSO commands
(replacing the # with an @) |





