Log in Go to the main page Page Discussion History Go to the file list Go to the site toolbox

Copy Files Found By Find

From RZWiki


Linux-logo-large.png

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 \;

Vm-power-on-medium.png Usage Examples

find /var/tmp -iname *.log -exec cp {} /logs \;

Icemon-medium.png Related Articles

Information on other Linux commands Tux-small.png

Information on F5 BigIP commands F5-logo-small.png

Information on Cisco commands Cisco-logo-small.png

Information on Vyatta commands Vyatta-logo-small.png

Information on Extreme commands Extreme-logo-small.png

Information on Zebra commands

Information on Secure Platform commands

Information on Blue Coat SGOS commands

Information on Nokia IPSO commands


Internet-group-chat-small.png We really do appreciate all feedback so please do send your comments, suggestions or corrections to sjiveson#routerzone.eu
(replacing the # with an @)


Site Toolbox:

Personal tools
This page was last modified on 7 June 2009, at 12:27. - Disclaimers - About Network Stuff
Powered by MediaWiki