Getting your geek on with find, mv, and xargs

For those folks who didn’t get their full ration of tech-tastic-ness with my opus on getting cedilla’s into an emacs buffer, here is a handy bit about using the UNIX find and mv commands together:

The task- find all the logfiles from my implementation tasks and gather them up from the various locations all over the place into my implementation task log directory:
find ./ -name "*.logfile" | xargs -i mv '{}' /my/really/great/implementation_scripts/log_directory/

This entry was posted in computers/programming. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *