This question already has an answer here:
This is my first time asking a question :) I am new to bash scripting but pretty good with python. I have a directory with a bunch of files, and I have a text file that contains a subset of file names within the directory. I am trying to write a script that will read that txt file, select the files that are listed in the txt file from the directory, and move them up a directory.
It may sound simple enough but there are hundreds of them so I am trying to automate! Any help or guidance would be appreciated.