Skip to content

Instantly share code, notes, and snippets.

@Trass3r
Last active September 21, 2017 11:48
Show Gist options
  • Select an option

  • Save Trass3r/1e4f9dacb6fb3738ae7488a05c4a591d to your computer and use it in GitHub Desktop.

Select an option

Save Trass3r/1e4f9dacb6fb3738ae7488a05c4a591d to your computer and use it in GitHub Desktop.
[Linux] create portable app package
# copy $1 to folder $2
ldd $1 | grep -oP '=> \K(/[^(]+)' | xargs cp -vt "$2" "$1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment