Skip to content

Instantly share code, notes, and snippets.

@adam-lee
Last active August 29, 2015 13:57
Show Gist options
  • Save adam-lee/9690650 to your computer and use it in GitHub Desktop.
Save adam-lee/9690650 to your computer and use it in GitHub Desktop.
rm-file
# /media/Build/master-next/poky/meta-gumstix-extras/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.0.bbappend
# /media/Build/master-next/poky/meta-gumstix-extras/recipes-core/busybox/busybox_1.21.1.bbappend
# /media/Build/master-next/poky/meta-gumstix-extras/recipes-multimedia/musicpd/mpd_0.17.1.bbappend
# /media/Build/master-next/poky/meta-gumstix-extras/recipes-connectivity/neard/neard_0.10.bbappend
f = File.open("to-be-removed", "r")
f.each_line do |line|
system 'rm', line.chomp
end
f.close
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment