Hi guys,
I've got list files in directory like this ...
mycron20060701
Timing20060701
Timing20060703
Timing20060703
CheckMissingFiles20060706
datacompare20060706
datasirs20060706
data20060706
ExcelCheckIncomingFileSize.ksh20060707
Report20060707
Timing20060707
Timing20060707
basically, I want to group them according to their suffix and create directory with their suffix name, so particular files will be move to the particular directory.
So, the script will group the files with the suffix *20060701, create the 20060701 directory and then move them to directory "20060701", and same with other suffix date.
Thx guys in advance
I've got list files in directory like this ...
mycron20060701
Timing20060701
Timing20060703
Timing20060703
CheckMissingFiles20060706
datacompare20060706
datasirs20060706
data20060706
ExcelCheckIncomingFileSize.ksh20060707
Report20060707
Timing20060707
Timing20060707
basically, I want to group them according to their suffix and create directory with their suffix name, so particular files will be move to the particular directory.
So, the script will group the files with the suffix *20060701, create the 20060701 directory and then move them to directory "20060701", and same with other suffix date.
Thx guys in advance