home / blog

Tag Archives: cli

Filtered copy and preserve directory structure

Say you had a massive, slow clearcase VOB with many filetypes, but you just wanted to copy the java files to /tmp for fast searching, and preserve the directory structure. find . -name “*.java” | cpio –pass-through –verbose /tmp/horsecopy

Posted in geek | Tagged , | Leave a comment