I am beginner especially in working with Unix shell.
Is there a way to do following:
for each file (around 50) in directory make a subdirectory. Subdirectory should ideally be named as file or as number (from 1-50)
Move files to corresponding subdirectories
Starting from main directory, for each subdirectory, use file in that subdirectory for further analysis (perform code on it, already written)
I will really appreciate your help. Thanks a lot.