Skip to content

Instantly share code, notes, and snippets.

@KhasMek
Created September 17, 2013 02:58
Show Gist options
  • Select an option

  • Save KhasMek/6589585 to your computer and use it in GitHub Desktop.

Select an option

Save KhasMek/6589585 to your computer and use it in GitHub Desktop.
lazydev Run from vendor/$company/$device for now. proprietary_vendor_dir = The folder to be updated
#!/bin/bash
proprietary_vendor_dir=
ls | grep -v '.mk$' | while read line; do
dest=`find $proprietary_vendor_dir -name $line`
cp -v $line $dest
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment