Created
June 29, 2019 15:57
-
-
Save lolgear/2545765e59e3b7368985f324b9863cd9 to your computer and use it in GitHub Desktop.
Search in a directory Core and put all headers in one directory Core/Include
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find Core -name '*.h' | perl -ne 'chomp; my $f = (split("\/"))[-1]; my $s = qq(mv $_ Core/Include/$f); print $s, "\n"; print qx($s);' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment