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-directory
do
print if file exists in /media/tv, /media/movie, or /media/music
done
the files will not be in the root of the directory. I cant just search /media, because I don't want to search in cd-rom or videos
I am using the latest version of Ubuntu server