1

Moving files to corresponding folders

view story
linux-howto

http://www.linuxquestions.org – Hi there, i have the following problem. I have many files in a folder, called 1......200 (the same extension, some bioinformatic stuff). I would like to do the following: For every file named i, mkdir a folder called i, and move that file into that folder. I tried different For loops in a sh-executable, but i am always getting the message "cant create folder, file already exists". Any ideas? (HowTos)