Skip to content

Instantly share code, notes, and snippets.

@quangIO
Created December 22, 2018 05:13
Show Gist options
  • Save quangIO/964beffd298b38b9d6cd9d6b32f76581 to your computer and use it in GitHub Desktop.
Save quangIO/964beffd298b38b9d6cd9d6b32f76581 to your computer and use it in GitHub Desktop.
Copy all deps to dest folder
ldd /bin/ls | grep "=> /" | awk '{print $3}' | xargs -I '{}' cp -v '{}' dest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment