13

Script to delete files with an input for directories and an input for path/file

view full story
linux-howto

http://www.unix.com – Hello, I'm trying to figure out how best to approach this script, and I have very little experience, so I could use all the help I can get. :wall: I regularly need to delete files from many directories. A file with the same name may exist any number of times in different subdirectories. When I perform the deletion, I will have a list of the upper level directories I want to delect the file path from, and a list of pathed files I want to delete from those directories only. What would be the best way to set this up with the two input files? For example, I need to delete: Co (HowTos)