|
mv load balance files
Ok so I have files that are going to land on /apps/, but I need to load balance them so I need to load balance them to four different folders.
The three file extensions I get are .mpe .mpd and mpf which will land here... /apps/ I can't move them until the mpf is there it triggers the next process within the ./a/ or. /b/ or. /c/ or ./d/ folder etc.
The names of the three files will be the same but I get three files for a file suite once they all land on the /apps/ dir I need to mv the file suite that's the oldest to
/apps/a/
/apps/b/
/apps/c/
/apps/d/
So for example filesuite1.mpe filesuite1.mpd and filesuite.mpf land on /apps/
So I need something that will pick them up each three and move to A then the next suite that comes in move to b and the next to C and so on ?
Last edited by xgringo; 01-31-2008 at 03:53 PM..
|