I have a whole bunch of files in a directory. I’d like a program to loop over the files in the directory and prompt me to enter the name of directory (which are all in the same directory) so that the program moves the file to the specified directory.
I’d like a terminal solution, more specifically, Python way would be instructive for me
Your question is a bit vauge on what you need help with, but here is a template to get you started. Use
osandshutilto list directories and move files.