I've been working on this far too long and need some help.I need a script that will look at files in a directory and see if it exists in one of several directories.I need something like this:for files in /downloads/ #may or may not be in a sub-directorydo   print if file exists in /media/tv, /media/movie, or /media/musicdonethe files will not be in the root of the directory.I can't just search /media, because I don't want to search in cd-rom or videos.I am using the latest version of Ubuntu server.
Checking if a file exists in several directories
linux;command line;scripting;find