Move Files From Multiple Directories
From NetworkStuff
To move files of a specific type from multiple directories to somewhere else use the mv command in conjunction with the find command using this command syntax;
find starting-directory -iname "search-expression" -exec mv {} destination-directory \;
Usage Examples
find /var/tmp -iname "*.log" -exec mv {} /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





