Skip to content

Instantly share code, notes, and snippets.

@Xummer
Created April 24, 2014 10:30
Show Gist options
  • Save Xummer/11249647 to your computer and use it in GitHub Desktop.
Save Xummer/11249647 to your computer and use it in GitHub Desktop.
软连接originPath下的所有.h文件到targetPath
#!/bin/sh
mkdir targetPath
find originPath -name "*.h" -print | xargs -I {} ln -s {} targetPath/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment