Hi Folks,
Please help me in making a code which could move a files in a directory. The situation is like this, a folder has 800 or more files in it. All files in the folder have only two types of filename extension, these are scn & adt. Each of every two filenames have the same name and date modified. I need to move these files to a certain directory by 25 pairs each (25 scn & 25 adt). Then, it would move another set of 25 to the next folder until no files in the source folder is left. So, each folder contains 50 files with every two pairs have the same filename (this is regardless of its file extension & size).
Any help for this is appreciated. Thanks in advance.
Please help me in making a code which could move a files in a directory. The situation is like this, a folder has 800 or more files in it. All files in the folder have only two types of filename extension, these are scn & adt. Each of every two filenames have the same name and date modified. I need to move these files to a certain directory by 25 pairs each (25 scn & 25 adt). Then, it would move another set of 25 to the next folder until no files in the source folder is left. So, each folder contains 50 files with every two pairs have the same filename (this is regardless of its file extension & size).
Any help for this is appreciated. Thanks in advance.