-
-
Save sidorovit/09204fe138c20b881597aab266276726 to your computer and use it in GitHub Desktop.
Copy all shared libraries for a binary to directory
This file contains hidden or 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
| ldd file | grep "=> /" | awk '{print $3}' | xargs -I '{}' cp -v '{}' /destination |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment