Hi
I'm trying to find a solution (KSH, PERL, C, etc..) for taking files from a source directory then going through a list of many destination directories and whichever destination directory has the least amount of files in them, put all of the files into that directory.
Each time it runs it should always put the files in the directory with the least amount of files.
The amount of files it's putting in the destination can be one or many.
Thanx
DrD123
I'm trying to find a solution (KSH, PERL, C, etc..) for taking files from a source directory then going through a list of many destination directories and whichever destination directory has the least amount of files in them, put all of the files into that directory.
Each time it runs it should always put the files in the directory with the least amount of files.
The amount of files it's putting in the destination can be one or many.
Thanx
DrD123